N=int(input()) if N==0: print(-1) exit() ANS=[] for i in range(60,-1,-1): x=1<