#include #include using namespace std; int main() { double n; cin >> n; int s = sqrt(n/3); cout << (s == 0 ? 1 : s) << endl; return 0; }