I can't tell you what it really is, I can only tell you what it feels like
View as PDFFind out if the given string is palindrome!
Input
The only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive.
Output
Print "YES" or "NO".
Example 1
Input
373
YES
Example 2
Input
121
NO
Comments