import math
a=math.floor(math.sqrt(int(input())))
print(a)