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