#include #include #include using namespace std; int lsb(int x){ return x & (~(x-1)); } int main() { #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); #endif int n; cin >> n; int x = lsb(n); int a = n, b = n, c = x; b = b & (~c); if(a == 0 || b == 0 || c == 0 ){ cout << "-1 -1 -1 "<