Problems
Palindrome
Palindrome
Palindrome is a sequence of characters that reads the same backwards as well as forwards. Find out whether the given text is a palindrome. Do not forget that space is not pronounced when reading.
Input data
String S (|S| ≤ 1000) consists of small Latin letters and spaces. |S| means the length of a string.
Output data
Print "YES" if the text is a palindrome and "NO" otherwise.
Examples
Input example #1
palindrom
Output example #1
NO
Input example #2
a roza upala na lapu azora
Output example #2
YES