#K52812. Check Palindrome

    ID: 29393 Type: Default 1000ms 256MiB

Check Palindrome

Check Palindrome

Given a string consisting of alphanumeric characters, determine whether it is a palindrome. A palindrome is a word that reads the same backward as forward. For example, the string madam is a palindrome, while hello is not.

Your task is to read a single string from the standard input and output True if the string is a palindrome, otherwise output False. The solution should handle strings precisely as provided (i.e., case-sensitive comparison) and must work efficiently under all given test cases.

inputFormat

The input is provided via standard input in a single line containing a non-empty string composed of alphanumeric characters. The string may include spaces.

outputFormat

The output should be a single line to standard output. Print True if the input string is a palindrome, and False otherwise.

## sample
madam
True