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