#include <stdio.h>

int main(void) 
{
	int a,b,c,i=1;
	scanf("%d",&a);
	scanf("%d",&b);
    c=1;
	while(i<=b)
	{   
		c=c*a;
		i++;
	}
	printf("The value of %d to the power of %d is %d.\n", a, b, c);
	return 0;
}

