N = int(input())

assert N > 0

if N == N & (-N):
    print(-1)
else:
    A = B = N
    A ^= (N & -N)
    C = N & (-N)
    print(A, B, C)