#include using namespace std; int main() { int n; int x=0; cin >>n; while(n){ x=x+n%2; n=n/2; } cout <