#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
double bin_s(double a, int n){
double l=0, r=1000 , eps=1e-7;
while(abs(l-r)>eps){
double m=(l+r)/2;
double x=pow(m,n);
if(a>x)l=m;
else r=m;
}
return l;
}
int main() {
double a;
int n;
cin>>a>>n;
cout<<fixed<<setprecision(8)<<bin_s(a,n);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPG1hdGguaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKZG91YmxlIGJpbl9zKGRvdWJsZSBhLCBpbnQgbil7Cglkb3VibGUgbD0wLCByPTEwMDAgLCBlcHM9MWUtNzsKCXdoaWxlKGFicyhsLXIpPmVwcyl7CgkJZG91YmxlIG09KGwrcikvMjsKCQlkb3VibGUgeD1wb3cobSxuKTsKCQlpZihhPngpbD1tOwoJCWVsc2Ugcj1tOwoJfQoJcmV0dXJuIGw7Cn0KaW50IG1haW4oKSB7Cglkb3VibGUgYTsKCWludCBuOwoJY2luPj5hPj5uOwoJY291dDw8Zml4ZWQ8PHNldHByZWNpc2lvbig4KTw8YmluX3MoYSxuKTsKCQogICAgcmV0dXJuIDA7Cn0K