In the singing sands of Echo Dunes, Librarian the store warden keeps careful count of the sigils. Fulfill a tricky customer order, every figure matters. 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| <= 1727; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 1727; s contains lowercase English letters.
