#include #include int main(void){ int n; scanf("%d", &n); int r = (int)sqrt((n / 3)); printf("%d\n", r); return 0; }