#include<iostream> #include<cmath> using namespace std; int main() { long long a,s; cin>>a; s=pow(a,1.0/3.0); cout<<s<<endl; return 0; }