Ones#622

Ones

1 second
128 megabytes
Very easy

Find the number of ones in the binary representation of a given number.

Input

The input contains a single integer (0 \leq n \leq 2 \cdot 10^9).

Output

Output the number of ones in the binary representation of .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading