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