#C14027. Palindrome Checker
Palindrome Checker
Palindrome Checker
Your task is to determine whether a given string is a palindrome. A palindrome is a string that reads the same backward as forward after ignoring non-alphanumeric characters and case differences.
For example, the string A man, a plan, a canal: Panama
is considered a palindrome because after filtering out non-alphanumeric characters and converting to lowercase, it reads the same in both directions.
inputFormat
The input consists of a single line containing the string to be checked. The string may include letters, digits, spaces, and punctuation.
outputFormat
Output a single line: 'True' if the given string is a palindrome or 'False' otherwise.## sample
A man, a plan, a canal: Panama
True