SDE Path

A Raised to the Power B

Easy

A Raised to the Power B

Compute A to the power B by repeated multiplication.

Input format

A single line with two integers A and B (0 <= A <= 10, 0 <= B <= 18).

Output format

Print A raised to the power B (A^B). Note A^0 = 1.

Constraints

  • Values fit in a 64-bit signed integer
  • Trailing whitespace and a trailing newline are ignored by the judge

Read from stdin, write to stdout. Sample cases below show the exact format.

Sample cases

Example 1
Input
2 10
Expected output
1024
Example 2
Input
5 0
Expected output
1