import math
import sys


n = int(input())

print(math.floor(math.sqrt(n)))