import sys
import math
for line in sys.stdin:
    a = line.split()
    print(int(math.sqrt(float(a[0]))))