#include #include using namespace std; #define PI 3 int main(){ long double n; cin >> n; n = n /3; cout << (long)(sqrt(n)) << endl; return 0; }