Every season at the temple city of Sunspire, someone must compute the guild dues owed. This year the task falls to Tailor, armed only with the letters register. Task: Print YES if s reads the same forwards and backwards, otherwise NO. Input format: One line with a single lowercase string s. Output format: Print YES or NO. Constraints: 1 <= |s| <= 881; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 881; s contains lowercase English letters.
