using namespace std;
#include <iostream>
#include <cmath>

int main() {

    double x;
    cin >> x;
    cout << pow(x, 1.0/x) << endl;
    return 0;
}
