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