#include #include #include #include #include #include #include #include #include #include #include #define rep(i,n) for(int i=0;i=0;i--) #define FOR(i,a,b) for(int i=a;i>n; if(n==0){ cout<<0< x; ll i=2; x.push_back(1); while(x[x.size()-1]<=n){ x.push_back(i); i*=2; } x.pop_back(); reverse(x.begin(),x.end()); rep(i,x.size()){ cout<=x[i]){ ans*=2; n-=x[i]; } } //ans/=2; cout<