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