import math N = int(input()) print(int(math.log10(N)/2)+1)