#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=100010;
double l=-10000,r=10000;
double n;
int main()
{
cin>>n;
while(r-l>1e-8)//只要r比l大超过1e-8就会循环
{
double mid=(l+r)/2;
if(mid*mid*mid>n) r=mid;
else l=mid;
}
printf("%.6lf",l);
}
//浮点数二分无边界问题,相对简单