Return the number of set bits (the Hamming weight) in the binary representation of a non-negative integer n.
Input: one line, the integer n.
Output: the count of 1 bits.
11
3
1011₂.
128
1
10000000₂.
Run your code against the sample tests, or Submit to run the full suite.