scripts/ege/13118674/14.py
2023-05-05 00:45:01 +03:00

4 lines
61 B
Python

n = 4**1014 + 2**1012 - 7
n = bin(n)[2:]
print(n.count("1"))