#include using namespace std; int main() { int a,contor=0; cin>>a; while(a>0) { if(a%2!=0) { contor++; } a/=2; } cout<