John loves to play with strings. Today he is playing with a special type of string called "palindrome". A palindrome is a string which reads the same backward and forward. John received a sack full of strings. There are T strings in the sack, he removes the strings one by one, John is happy if the string he picked is a palindrome. Once a string is chosen, he discards it.
Your task is to find for each string whether it is a palindrome or not. If the chosen string is a palindrome, print YES else print NO.
The input consists of T strings each in a newline.
For each string print YES, if the string is a palindrome else print NO.
1 <= T <= 150
1 <= |lengthofString| <= 2000
You have given a string where you have to check if the given string is palindrome or not