n = int(input()) s = [] i = 1 while i * i <= n: s.append(i) i+= 1 print(len(s))