import math n=int(input()) print(len(str(math.ceil(n**.5))))