EPO - Easy Powers

no tags 

Calculating ab can be done using the recurrence f(a, b) such that if b > 0 f(a, b) = a × f(a, b-1) while if b = 0 then f(a, b) = 1.

Input

Two numbers in one lines separated by a space a (1 ≤ a ≤ 10) and b (1 ≤ b ≤ 12)

Output

One number which is the value of ab

Example

Input:
3 9

Output:
19683

hide comments
Omar ElAzazy: 2012-05-09 04:57:11

Yes

Yu: 2012-04-08 04:07:15

are a and b integers?


Added by:Omar ElAzazy
Date:2012-03-14
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64