Problem Statement:
There are basically two directions in which Japanese can be written, from top to bottom, called Tategaki, and from left to right, called Yokogaki. Aki is a 6 years old Japanese boy who just leaned English. He learned the words; "LEVEL", "MADAM" and "RADAR". Aki thought that English can be written in two ways as well just like Japanese but from left to right and from right to left.
Next day Aki leaned the words: "Robot", "Programming" and "Computer" and it was a shock this time that when he wrote the words from right to left it made no sense.

Write a program to help Aki find the words that can be written from both directions and gives the same meaning

Input Format:
Single word consist of English letters only (Uppercase and/or Lowercase)
The word will not exceed 10,000 letters

Output Format:
If the word can be written from right to left or left to right without changing the letters then print "Palindrome" otherwise print "Not Palindrome"

Sample Input:

Sample Output:

Palindrome means a word, phrase, or sequence that reads the same backwards as forwards.

Added by: gammal
Added at: 2015-02-17 22:40:35 UTC
Time Limit: 1 second
Partial score: No