#include <iostream>#include <cmath>using namespace std;int main() { long long int a, b, c; cin >> a >> b; c = pow(a, b); cout << c;}