#include #include #include using namespace std; int main(void){ unsigned int n; cin >> n; int np = n / 3; int ans; ans = sqrt(np); int lans; lans = int(ans); cout << lans << endl; return 0; }