N = int(input()) print(len(str(int(N ** 0.5))))