count = 0
for i in range(1, 10):
    power = 1
    result = i ** power
    while len(str(result)) >= power:
        if len(str(result)) == power:
            print(result, power)
            count += 1
            print(i, power)
        power += 1
        result = i ** power
print(count)

432352b1d9482fee5e64e56a02513bfe3d90669e
<mask token>

<mask token>
for i in range(1, 10):
    power = 1
    result = i ** power
    while len(str(result)) >= power:
        if len(str(result)) == power:
            print(result, power)
            count += 1
            print(i, power)
        power += 1
        result = i ** power
print(count)

count = 0
for i in range(1, 10):
    power = 1
    result = i ** power
    while len(str(result)) >= power:
        if len(str(result)) == power:
            print(result, power)
            count += 1
            print(i, power)
        power += 1
        result = i ** power
print(count)
