Legend says the vault under the herring shoals of Silverfin opens only for a perfect tally of verses. Brewer means to find out. 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| <= 655; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 655; s contains lowercase English letters.
