#include #include using namespace std; int main(){ int n,calc; cin >> n; calc = n/3; cout << int(sqrt(calc)) << "\n"; return 0; }