import sys import math a = int(input()) #math.sqrt(a) 对a开方 #//(整除1),去除小数防止进位 #:.0f 去除小数点 print(f"{math.sqrt(a)//1:.0f}")