import math
n = int(input())
r = int(math.sqrt(n/3)+1)
print(r)