Solution of Bitcount

print sum([x == '1' for x in bin(int(raw_input()))])
Questions?

Sponsors Gold