from yogi import scan

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