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
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.