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