def ans():
    nums = set()
    for a in range(2, 101):
        for b in range(2, 101):
            nums.add(a ** b)
    return len(nums)


if __name__ == '__main__':
    print(ans())

3ab6b041b640b2a76f8d87a6b74e448e9b0cf1de
<mask token>

def ans():
    nums = set()
    for a in range(2, 101):
        for b in range(2, 101):
            nums.add(a ** b)
    return len(nums)


<mask token>

def ans():
    nums = set()
    for a in range(2, 101):
        for b in range(2, 101):
            nums.add(a ** b)
    return len(nums)


if __name__ == '__main__':
    print(ans())
