x = int(input())
n = int(input())
ans = 1
while n > 0:
    ans = ans * x
    n -= 1
print(ans)

b745f8b650d1058c1b5e7c56d7902eb0428243f7
<mask token>

<mask token>
while n > 0:
    ans = ans * x
    n -= 1
print(ans)

x = int(input())
n = int(input())
ans = 1
while n > 0:
    ans = ans * x
    n -= 1
print(ans)
