#include<iostream.h>
int main()
{
int x, y, i, result=1;
cout << "Enter a first Number : ";
cin >> x;
cout << "Enter a second Number : ";
cin >> y;
for(i=0 ; i<y ; i++)
{
result *= x;
}
cout << x << "^" << y << " is " << result;
return 0;
}