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