from yogi import scan

n = scan(int)
while n is not None:
  print(number_of_digits(n))
  n = scan(int)

