N=int(input()) if(-N&N==N): print(-1, -1, -1) else: print(N, N&-N, N&-N^N)