from math import sqrt, floor N = int(input()) print(floor(sqrt(N)))