Words like 'Malayalam', 'level' and 'Madam' read the same forwards and backwards. These are palindromes.
Given a word, check whether it is a palindrome, ignoring the difference between capital and small letters.
Input Format
A single word.
Output Format
Print Palindrome or Not Palindrome.
Constraints
• 1 ≤ length ≤ 1000
• The word contains only English letters.
Examples
Example 1
Input
Malayalam
Output
Palindrome
Explanation malayalam reads the same both ways.
Example 2
Input
coder
Output
Not Palindrome
Explanation coder reversed is redoc.
Example 3
Input
a
Output
Palindrome
Explanation A single letter is always a palindrome.
Example 4
Input
Noon
Output
Palindrome
Explanation noon is a palindrome.
Acceptance
—
Accepted
0
Submissions
0