Given a long integer, we need to find if the difference between sum of digits present at the odd positions and sum of digits present at even positions is 0 or not. The indexes start from zero (0 index is for leftmost digit).
First line consists of T test cases. Only line of every test case consists of a number N.
Print "Yes" if difference is 0 else print "No".
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.