e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 6: December 14 - 20. Char arrays 1

The number-palindrome

Check if the given number is a palindrome.

The number is a palindrome if it remains the same when its digits are reversed.

Input

One non-negative 32-bit integer.

Output

Print "Yes" if the number is a palindrome, and "No" otherwise.

Time limit 1 second
Memory limit 122.17 MiB
Input example #1
121
Output example #1
Yes
Input example #2
10
Output example #2
No
Input example #4
519767348
Output example #4
No