#include <iostream> #include <cmath> #include <string> #include <algorithm> #include <cctype> typedef long long int ll; using namespace std; int main(){ double n, r; cin >> n; r = ceil(sqrt(n / 3)); cout << r << endl; return 0; }