#include using namespace std; typedef long long ll; int main(){ ll n; cin>>n; vectorvec; ll temp; while(n>0){ temp=n%2; vec.push_back(temp); n/=2; } reverse(vec.begin(),vec.end()); int cnt=0; for(auto e:vec){ if(e==1) cnt++; } if(cnt==1){ cout<<-1<<" "<<-1<<" "<<-1<