import math N = int(input()) print(math.floor(math.sqrt(N)))