#K42147. Palindrome Checker

    ID: 27023 Type: Default 1000ms 256MiB

Palindrome Checker

Palindrome Checker

Given a string S, determine whether it is a palindrome. A palindrome is a string that reads the same backward as forward when all letters are converted to lowercase. Note that spaces and punctuation are considered as given (i.e., no removal of spaces or punctuation is performed).

For example, the string "madam" (ignoring case) is a palindrome, while "hello" is not.

inputFormat

The input consists of a single line containing a non-empty string S. The string may include spaces and mixed case letters. Input is provided via standard input (stdin).

outputFormat

Output a single line to standard output (stdout) that is either Palindrome if the string is a palindrome, or Not a palindrome otherwise.

## sample
madam
Palindrome