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