#include <cmath> #include <iostream> using namespace std; int main() { int n; cin >> n; int a, b, c; a = n; b = n & (1 << int(log2(n))); c = n - b; if (c == 0) { a = b = c = -1; } cout << a << ' ' << b << ' ' << c << endl; return 0; }