Valid Palindrome

EASY

Valid Palindrome

A phrase is a palindrome if, after removing non-alphanumeric characters and lowercasing, it reads the same forward and backward.

Examples

Input: "A man a plan a canal Panama"
Output: true