N = int(input()) ans = 0 x = 1 while x*x <= N: ans += 1 x += 1 print(ans)