#C11598. Palindrome Checker
Palindrome Checker
Palindrome Checker
You are given a string S. Your task is to determine whether the string is a palindrome. A palindrome is a string that reads the same forwards and backwards when case is ignored. Note that no spaces or punctuation are removed; only the case of the characters is ignored.
For example, the string "RaceCar" is considered a palindrome because by ignoring case it becomes "racecar", which is the same forwards and backwards.
Note: An empty string is also considered a palindrome.
The check must be performed solely by converting the string to lower-case and comparing it with its reverse.
inputFormat
The input consists of a single line containing the string S. The string can contain any visible characters. Input is read from standard input.
outputFormat
Output "YES" if the given string is a palindrome (ignoring letter case) and "NO" otherwise. The output should be printed to standard output.
## samplemadam
YES