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