#include #include #include #include #include #include #include #include #include using namespace std; int main() { int n, a, b, c = 0; cin >> n; for (int i = 1; i <= n; i<<=1){ if (n & i){ c = i; break; } } a = n; b = n- c; if (c == 0 || n == 1 || n == 2) cout << "-1 -1 -1" << endl; else cout << a << " " << b << " " << c << endl; }