#C6036. Taco Palindrome Checker

    ID: 49752 Type: Default 1000ms 256MiB

Taco Palindrome Checker

Taco Palindrome Checker

You are given a string. Your task is to determine whether it is a palindrome, considering only alphanumeric characters and ignoring case differences. In other words, you should check if the filtered string is the same when read forwards and backwards.

Formally, let \( S \) be the original string, and let \( F(S) \) be the string formed by removing all non-alphanumeric characters and converting all letters to lowercase. You need to check whether \[ F(S) = \text{reverse}(F(S)) \] If the condition holds, print True, otherwise print False.

inputFormat

The input is provided via stdin and consists of a single line containing the string \( S \).

outputFormat

Output via stdout a single line: True if the processed string is a palindrome, and False otherwise.

## sample
A man, a plan, a canal, Panama
True