#include int power(int, int); void main() { int a, b, c; scanf("%d%d", &a, &b); c = power(a, b); printf("%d\n", c); } int power(int x, int y) { int res = 1; int i = 0; while (i < y) { res = res * x; i = i + 1; } return res; }