import math n = int(input()) print(int(math.isqrt(n)))