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