n = int(input())
import math
print(int(math.sqrt(n)))