import math
n =(int(input()))
result = int(math.sqrt(n))
print(result)