#C13056. Palindrome Checker

    ID: 42552 Type: Default 1000ms 256MiB

Palindrome Checker

Palindrome Checker

This problem requires you to determine whether a given string is a palindrome. A string is considered a palindrome if it reads the same forwards and backwards. The check should be performed in a case-sensitive manner, and all characters (including spaces) are considered.

For example, the string racecar is a palindrome, while Racecar and a man a plan a canal panama are not.

The solution should read the input from stdin and print the result (True or False) to stdout.

inputFormat

The input consists of a single line that contains the string s. The string may contain spaces and is case-sensitive.

Input Format:

s

outputFormat

Output a single line containing either True if the string is a palindrome, otherwise False.

Output Format:

True|False
## sample
racecar
True