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