import sys n = int(input()) binns = bin(n) c = 0 for i in binns[2:]: if i == "1": c +=1 print(c)
相关推荐