Hello guys
a dificult exercise i dont find it.
A palindrome sentence is a sentence that forms a palindrome when only the letters of the sentence are taken into account. Thus, all characters in the sentence that are not letters (e.g., spaces and punctuation marks) are ignored. In addition, no distinction is made between upper and lower case letters either. Examples of palindromic sentences are "There is still treachery there, Sire." and "A man, a plan, a canal: Panama!".
Input
The first line of input contains a natural number that indicates how many test cases there are. The next lines of input each contain a sentence.
Output
For each of the sentences in the input, write out whether they are palindrome sentences (palindrome sentence) or not (no palindrome sentence).
a dificult exercise i dont find it.
A palindrome sentence is a sentence that forms a palindrome when only the letters of the sentence are taken into account. Thus, all characters in the sentence that are not letters (e.g., spaces and punctuation marks) are ignored. In addition, no distinction is made between upper and lower case letters either. Examples of palindromic sentences are "There is still treachery there, Sire." and "A man, a plan, a canal: Panama!".
Input
The first line of input contains a natural number that indicates how many test cases there are. The next lines of input each contain a sentence.
Output
For each of the sentences in the input, write out whether they are palindrome sentences (palindrome sentence) or not (no palindrome sentence).