N = int(input()) bc = 0 x = N lb = -1 while x: bc += x&1 x >>= 1 lb += 1 if bc == 1: print(-1, -1, -1) else: a = N>>lb<