n = int (input())
count = 0
# в переменной n1 сохраните значение n
while n != 0:
count += 1
n = n // 10
print("Number -",n,"contains",count,"digits")