def bitcount(n): r = 0 while n!=0: r = r + (n & 1) n = n >> 1 return r
n=4**2020+2**2017-15 print(bin(n).count('1'))