#include<bits/stdc++.h> using namespace std; int main(){ long double n; cin>>n; printf("%.0Lf",pow(n,1.0/3.0)); return 0; }