class Solution: def countBits(self, n: int) -> List[int]: return tuple(bin(i).count("1") for i in range(n + 1))