#include #include int main(){ long long int N, r; scanf("%lld", &N); r = sqrt(N/3) + 1; printf("%lld\n", r); return 0; }