#include #define PI 3.14159265359 using namespace std; const int64_t mod = 1e9 + 7; int main() { int n; cin >> n; cout << sqrt(n / 3)+1 << endl; }