#include <iostream>
using namespace std;
int main()
{
int n;
double a;
cin >> a >> n;
double p = a;
for(int i = 2; i <= n; i++)
p *= a;
cout << p;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int n;
double a;
cin >> a >> n;
double p = a;
for(int i = 2; i <= n; i++)
p *= a;
cout << p;
return 0;
}