Tap title to toggle menu

Solution of Bitcount

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