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