#K9831. Palindrome Checker
Palindrome Checker
Palindrome Checker
Given a string (s), your task is to determine whether it is a palindrome, considering only alphanumeric characters and ignoring cases. In other words, after filtering out non-alphanumeric characters and converting all letters to lowercase, the resulting string should be compared with its reverse. For example, the string "A man, a plan, a canal: Panama" is a palindrome because when processed it becomes "amanaplanacanalpanama", which reads the same backward.
inputFormat
The input consists of a single line string (s) read from standard input (stdin). The string may contain spaces, punctuation, and mixed case letters.
outputFormat
Output either “True” or “False” (without quotes) on a single line to standard output (stdout), indicating whether the processed string is a palindrome.## sample
A man, a plan, a canal: Panama
True