import sys N = int(input()) A = N B = 1 C = N ^ B if C == 0: print(-1,-1,-1) sys.exit() print(A,B,C)