import sys
import math
a = int(input())
print(int(pow(a,0.5)))