Powers

Write a program to compute powers.

Input

Input consists of several pairs of integer numbers a and b. Assume
b ≥ 0.

Output

For every pair a,b, print a^(b). Supose, as usual, that 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
