Competitions

# 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