N=int(input()) if bin(N).count('1')==1: print(-1,-1,-1) else: print(N&(-N),N-(N&(-N)),N)