Problem title

Calculate the number of bits in the binary representation of N. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eget sapien sapien. Curabitur in metus urna. In hac habitasse platea dictumst. Phasellus eu sem sapien, sed vestibulum velit. Nam purus nibh, lacinia non faucibus et, pharetra in dolor. Sed iaculis posuere diam ut cursus. Morbi commodo sodales nisi id sodales. Proin consectetur, nisi id commodo imperdiet, metus nunc consequat lectus, id bibendum diam velit et dui. Proin massa magna, vulputate nec bibendum nec, posuere nec lacus. Aliquam mi erat, aliquam vel luctus eu, pharetra quis elit. Nulla euismod ultrices massa, et feugiat ipsum consequat eu.

Input

N

Output

The number of bits set to 1 in the binary representation of N

Sample

InputOutput
3 2

Time limit: 1.0 s
Memory limit: 1 MB
Source: Mindcoding Round 1
Author: Ionut
Added by: Ionut

Time: 12:21

# UserScore
1 asd_asd 1000
2 asd_asd 999.98
3 asd_asd 23

UBB

Hermes

Facebook

Partners