Given a positive integer n, find if it can be expressed as xy where y > 1 and x > 0 and x and y both are both integers.
The first line of input contains an integer T denoting the no of test cases. Then T test cases follow . Each test cases contains an integer N.
For each test case in a new line print 1 if the number can be expressed as xy else print 0.
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.