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