You are given a number N. Your task is to find if there exist two distinct natural numbers such that their bitwise XOR is N and bitwise AND is 0. If such numbers exist, then print 1. Otherwise, print 0.
Input format
Output format
For each test case, print the answer.
Constraints
1≤T≤106
0≤N≤1018
For the first testcase we can't find two numbers.
For the next testcase possible numbers are 4 and 1.