Given an integer, check whether it is a palindrome or not.
The first line of input contains an integer T denoting the number of test cases. For each test case there will be single line containing single integer N.
Print "Yes" or "No" (without quotes) depending on whether the number is palindrome or not.
1 <= T <= 1000
1 <= N <= 10000