'''
Given a number N, find its square root. You need to find and print only the integral part of square root of N.
For eg. if number given is 18, answer is 4.
'''
import math
n = int(input())
print(int(math.sqrt(n)))