N = int(input()) x = 1 y = N while y % 2 == 0: y //= 2 x *= 2 if x == N: print(-1, -1, -1) else: print(N, N ^ x, x)