A bacteria colony multiplies a times every hour. Starting with 1 bacterium, how many will there be after b hours?
Compute a raised to the power b using a loop. Don't use the built-in power function.
Input Format
A single line with two integers a and b.
Output Format
Print a^b. Take 0^0 as 1.
Constraints
• 0 ≤ a ≤ 10
• 0 ≤ b ≤ 18
• The answer fits in 10^18 (use long long or long).
Examples
Example 1
Explanation 2 multiplied 10 times = 1024.
Example 2
Explanation Anything to the power 0 is 1.
Example 3
Explanation 3 × 3 × 3 × 3 = 81.
Acceptance
—
Accepted
0
Submissions
0