from math import sqrt
n=int(input())
sq = int(sqrt(n))
print(sq) 
by