A = int(input()) # B = int(input()) # x = B + 0.000001 result = A ** x print(int(result))