A palindrome reads the same forward and backward. Uppercase and lowercase letters count as the same letter, and a space counts as one character just like any other. Decide whether each given line is a palindrome.
The first line contains the number of test cases n. Each of the next n lines holds one line of text of at most 18 characters. A line can contain spaces.
For each test case print one line: Yes if the line is a palindrome, No otherwise.