#include <iostream> #include <string.h> using namespace std; int main(){ int a; cin >> a; int n=1; while(a/2){ if(a%2==1){ n++; ...