S3P1 - Integer palindrome

no tags 

An integer is a palindrome when it is the same from left to right as it is from right to left, so 101 and 1331 are palindromes but 230 and 7228 are not. Mohamed wants your help to print "YES" if given number is a 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