#include int main() { int n,counter=0; std::cin>>n; while(n!=0) { if(n%2==1) counter++; n/=2; } std::cout<