Palindrome Number
Description
Given an integer N, determine whether it is a palindrome (reads the same forwards and backwards).
Input Format
One integer N.
Output Format
Print YES if N is a palindrome, NO otherwise.
Constraints
1 <= N <= 10^9
Example
Input: 12321
Output: YES
*(because 12321 reversed is still 12321)*
Input: 12345
Output: NO
*(because 12345 reversed is 54321 ≠ 12345)*
Input: 121
Output: YES
Explanation
Reverse the number and check if it equals the original.