537. Check If the Number is Palindrome or not!!

0

Easy

Problem: Determine whether a given integer x is a palindrome. Return true if x is a palindrome, and false otherwise. A palindrome is a word, phrase, number, or sequence of characters that reads the same forwards and backwards. Note : When a negative number is read from left to right, it remains negative. However, when read from right to left, the negative sign is at the end. Therefore, a negative number is not considered a palindrome.

Input Format

First Line: An integer x

Output Format

Print true if the input integer is a palindrome, and false otherwise.

Example

Input

121

Output

true

Constraints

-231 <= x <= 231 - 1
Loading...

View Submissions

Console