A phrase is a palindrome if, after lowercasing and removing all non-alphanumeric characters, it reads the same forwards and backwards. Return true if s is a palindrome.
Input: one line s (may contain spaces and punctuation).
Output: true or false.
A man, a plan, a canal: Panama
true
race a car
false
Run your code against the sample tests, or Submit to run the full suite.