first = input() a = len(first) b = 0 for i in range(a): b += int(first[i]) print(i) print(a)