The number-palindrome
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 122.174 megabytes
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.
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #4
Answer #4
Submissions 17K
Acceptance rate 46%