def problem_0016(exponent: int) -> int:
    return sum(map(int, f'{2 ** exponent}'))


if __name__ == '__main__':
    EXPONENT = 1000

    print(problem_0016(EXPONENT))
    # Expected: 1366

72f2c36e5d5d945f7c856c1362e05b0abb4e81c8
<mask token>

def problem_0016(exponent: int) ->int:
    return sum(map(int, f'{2 ** exponent}'))


<mask token>

def problem_0016(exponent: int) ->int:
    return sum(map(int, f'{2 ** exponent}'))


if __name__ == '__main__':
    EXPONENT = 1000
    print(problem_0016(EXPONENT))

def problem_0016(exponent: int) -> int:
    return sum(map(int, f'{2 ** exponent}'))


if __name__ == '__main__':
    EXPONENT = 1000

    print(problem_0016(EXPONENT))
    # Expected: 1366
