14732 - Is it palindrome?   

Description

Palindrome is a word, phrase, or sequence that reads the same backwards as forwards.

Write a simple code to check if the input string is a palindrome

(uppercase letter are not equal to lowercase letter)

Input

First line contain integer indicating the number of testcases, the next n lines contain the input string S

1 <= len(S) <= 1000

Output

Output Yes if it is a palindrome and No if it is not.

Sample Input  Download

Sample Output  Download

Tags




Discuss