n = int(input())

m = 1
while m < n:
    m *= 2
if m == n:
    print(-1, -1, -1)
else:
    m //= 2
    print(n, m, n - m)