#include using namespace std; int main() { int N,sol=0,i; cin>>N; for(i=0;i<32;++i) if(N&(1<