T = int(input()) def solve(N): if N == 0: return (0, 0) X = 0 for i in range(60): if N>>i&1: X = 1<