m = gets.to_i
n = gets.to_i
i = 1
answer = 1
while i <= n  do
	answer = m * answer
	i += 1
end
printf( "%d¤Î%d¾è¤Ï%d¤Ç¤¹\n" , m , n , answer )