#include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using ull = unsigned long long; const ll inf = 1e9 + 7; int main(){ cin.tie(0); ios::sync_with_stdio(false); //cout << fixed << setprecison(15); ll n; cin >> n; if(__builtin_popcountll(n) <= 1){ cout << -1 << " " << -1 << " " << -1 << endl; return 0; } ll a = n; ll b = n & (-n); ll c = a ^ b; cout << a << " " << b << " " << c << " " << endl; return 0; }