#include <iostream>
#include <math.h>
typedef long long lll;
using namespace std;

int main() {
    
    
    long double x,y;
    cin >> x >> y;
    cout << pow(x,1/y);

    //system ("pause");
    return 0;
}
