n = int(input()) if n % 2 == 0: print(n, n, n) else: count = bin(n).count("1") if count >= 2: print(1, n-1, n) else: print(-1, -1, -1)