The Lucky WordEasy

The Lucky Word

Easy+10 XP · +5 Aurastringscountingpalindromes

Welcome to UptoSkills Arena! Our intern, Alex, loves palindromes. He thinks a word is 'lucky' if it's a palindrome. Alex often writes down words and wants to quickly check if they are lucky. Can you help him by writing a program that determines if a given word is a palindrome?

Input

A single line containing a string S (consisting of lowercase English letters).

Output

Print YES if the string S is a palindrome, and NO otherwise.

Constraints

1 <= length(S) <= 1000

Time limit 1 s (native code; slower languages get more)Memory 256 MB15 hidden tests

Example 1

Input
madam
Output
YES

madam reversed is madam, so it's a palindrome.

Example 2

Input
hello
Output
NO

hello reversed is olleh, so it's not a palindrome.

Hints