Write a program to check if the sum of digits of a given number N is a palindrome number or not.
The first line of the input contains T denoting the number of testcases. T testcases follow. Then each of the T lines contains single positive integer N denoting the value of number.
For each testcase, in a new line, output "YES" if pallindrome else "NO". (without the quotes)
1 <= T <= 200
1 <= N <= 1000
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.