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