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