#include using namespace std; unsigned int cnt = 0, i; int main() { cin>>i; while(i) { cnt += i & 1; i >>= 1; } cout<