Competitions

# 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

String S (|S| ≤ 255) consists of small Latin letters and spaces. |S| means the length of a string.

#### Output

Print "YES" if the text is a palindrome and "NO" otherwise.

Time limit 1 second
Memory limit 128 MiB
Input example #1
palindrom

Output example #1
NO

Input example #2
a roza upala na lapu azora

Output example #2
YES