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