import math N=int(input()) ans=int(math.sqrt(N)) print(ans)