Palindrome Check

Swift Easy strings

Task «Palindrome Check»

Given a string. It is necessary to check whether it is a palindrome. A palindrome is a string that reads the same from left to right and from right to left. Letter case is ignored, spaces and punctuation marks are ignored. Print 'YES' if the string is a palindrome, and 'NO' otherwise.

Input Format

One line containing arbitrary characters.

Output Format

One word: YES or NO.

Examples

Example 1

INPUT
racecar
OUTPUT
YES

Example 2

INPUT
hello
OUTPUT
NO
main.swift