#include #include using namespace std; int main(){ int a; cin >> a; int r = sqrt(a/3); cout << round(r); }