#include using namespace std; int main() { int n=0,N; cin>>N; if(N<32 && N>=0){ while(N!=0){ if(N%2==1){n++;} N=N/2; } } cout<