#C9820. Palindrome Checker
Palindrome Checker
Palindrome Checker
In this problem, you are required to determine whether a given string is a palindrome. A string is considered a palindrome if it reads the same forward and backward after removing all non-alphanumeric characters and ignoring case. For example, the string "A man, a plan, a canal, Panama" should be considered a palindrome.
The task is to implement a function or program that reads a string from standard input (stdin), processes it according to the rules mentioned above, and prints "True" if the string is a palindrome, otherwise "False".
inputFormat
The input consists of a single string which may include spaces, punctuation, and mixed case letters. The string is provided via standard input (stdin).
outputFormat
The output should be a single line containing either "True" or "False", printed to standard output (stdout), indicating whether the input string is a palindrome after ignoring non-alphanumeric characters and case.## sample
A man, a plan, a canal, Panama
True