Submit | All submissions | Best solutions | Back to list |
EIPNUM - Palindromic Number |
A palindromic number is a number that remains the same when its digits are reversed
Input
An integer N(N<=10^9).
Output
if N is a palindromic number, print "YES", otherwise print"NO".
Example
Input: 131 Output: YES
Input: 1321 Output: NO