#include using namespace std; int main() { int n; unsigned i=0; cin>>n; do { if(n%2)i++; n/=2; } while(n>0); cout<