#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int x;
int main() {
	while (true) {
		cin >> x; if (x == -1) { break; }
		cout << fixed << setprecision(20) << pow(x, 1.0 / 3) << endl;
	}
}