The first line contains an integer T, depicting total number of test cases.
Then following T lines contains an integer N.
Each seperate line showing output 0(False) or 1 (True).
1 ≤ T ≤ 30
1 ≤ N ≤ 1018
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.