#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 i; int res = 1; for (i = 0; i < y; i = i + 1) { res = res * x; } return res; }