#include <iostream>
#include <cstdio>
#include <cmath>

using namespace std;

int main(int argc, char const* argv[])
{
	double n;
	while( cin >> n && n != -1 ){
		printf("%.6f\n",cbrt( n ) );
	}
	return 0;
}