Vigo found an old ledger of labels in the apothecary attic at the monsoon port of Rainhaven. The margin notes pose a precise question. 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| <= 1310; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 1310; s contains lowercase English letters.
