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