#B2062. Exponentiation Problem

    ID: 11144 Type: Default 1000ms 256MiB

Exponentiation Problem

Exponentiation Problem

Given an integer \(a\) and a positive integer \(n\), compute the power \(a^n\). The calculation follows the formula \(a^n = \prod_{i=1}^{n} a\). Please note that \(n\) is guaranteed to be a positive integer (i.e., \(n \geq 1\)).

inputFormat

The input consists of two space-separated integers. The first integer represents \(a\), which can be any integer, and the second represents \(n\), a positive integer.

outputFormat

Output a single integer, the value of \(a^n\).

sample

2 3
8