Робота з рядками
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.
String S (|S| ≤ 1000) consists of small Latin letters and spaces. |S| means the length of a string.
Print "YES" if the text is a palindrome and "NO" otherwise.
a roza upala na lapu azora