막대기

last update: 2021.09.08.WED

1094 막대기, Silver 5

Memory 29200KB, Time 76ms


X = int(input())
STICK = 64

b = bin(X)
count = 0
for digit in b:
    if digit == '1':
        count += 1
print(count)