from math import sqrt n = int(input()) ans = int(sqrt(n//3)) + 1 print(ans)