#include //#include using namespace std; #define all(a)a.begin(),a.end() using ll=long long; const int INF = 1<<30; const ll INFll =1LL<<62; //const int mod= int(1e9)+7; //const int mod2=998244353; using P = pair; using Pl= pair; using ld=long double; using V=vector; using Vl=vector; using Vd=vector; using VV=vector>; using VVl=vector>; using VVd=vector>; //using mint=atcoder::modint1000000007; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n;cin >>n; int x=__builtin_popcount(n); if(x==1){ cout <<-1<<" "<<-1<<" "<<-1<<"\n"; return 0; } else{ cout <