S3P1 - Integer palindrome

no tags 

Integer is palindrome when it  from left to right as it from right to left , so 101 and 1331 is palindrome but 230,7228 is not. Mohamed wants your help to print "YES" if given number is palindrome or "NO" if not.

Input

input contain N where 1<=N<=1000000000

Output

print "YES" if the given number is palindrome or "NO" if not.

print endl after test case.

Example

Input:
2670762

Output:
YES


Added by:mohamed gamal
Date:2012-01-27
Time limit:2s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C++ 4.3.2 CPP