#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using P = pair; constexpr int INF = 1001001001; constexpr int mod = 1000000007; // constexpr int mod = 998244353; template inline bool chmax(T& x, T y){ if(x < y){ x = y; return true; } return false; } template inline bool chmin(T& x, T y){ if(x > y){ x = y; return true; } return false; } int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N; cin >> N; ll A = N, B = N, C = 0; for(int k = 31; k >= 0; --k){ if(N >> k & 1){ B ^= 1LL << k; C ^= 1LL << k; break; } } if(B == 0) A = B = C = -1; cout << A << ' ' << B << ' ' << C << endl; }