Given a number N, find whether N can be expressed as sum of two or more consecutive positive numbers.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains an integer the number 'n'.
Print "Yes" (without quotes) if the number can be expressed as sum of two or more consecutive positive numbers and "No" (without quotes) if not.
1 <= T <= 105
1 <= n <= 105
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.