Palindrome is a word, phrase, or sequence that reads the same backwards as forwards.
Write a simple code to check if the input string S is a palindrome
(uppercase letter are not equal to lowercase letter)
First line contain integer n indicating the number of testcases, the next n lines contain the input string S
1 <= len(S) <= 1000
Output Yes if it is a palindrome and No if it is not.