Powers

Write a program to compute powers.

Input

Input consists of several pairs of integer numbers aa and bb. Assume b0b\ge 0.

Output

For every pair aa,bb, print aba^b. Supose, as usual, that 00=10^0 = 1.

Observation

The use of power operator ** is not alowed in this exercise.

Problem information

Author: Jordi Petit

Generation: 2026-01-25T19:28:31.090Z

© Jutge.org, 2006–2026.
https://jutge.org