#include #define REP(i,n) for (int i = 0; i < (n); ++i) template inline bool chmin(T& a, T b) {if (a > b) {a = b;return true;}return false;} template inline bool chmax(T& a, T b) {if (a < b) {a = b;return true;}return false;} using namespace std; using ll = long long; using P = pair; using Pl = pair; using veci = vector; using vecl = vector; using vecveci = vector>; using vecvecl = vector>; int main() { ll n; cin >> n; ll a = 0,b = 0,c = 0; int cnt = 0; if(__builtin_popcount(n) == 1) cout << -1 <<" " << -1 << " " << -1 << endl; else { for(int i = 0; i < 30; i++) { if(n & (1 << i)) { if(cnt%2 == 0) a |= (1<