#include "iostream" #include "climits" #include "list" #include "queue" #include "stack" #include "set" #include "functional" #include "algorithm" #include "math.h" #include "utility" #include "string" #include "map" #include "unordered_map" #include "iomanip" #include "random" using namespace std; const long long int MOD = 1000000007; long double N; int main() { ios::sync_with_stdio(false); cin >> N; N /= 3; cout << (int)sqrt(N) << endl; return 0; }