p=int(input())
cnt=0
while(p>0):
    cnt=cnt+1
    p=p//10
print(cnt)

e4d5c161acd5494c8af87aee27b4ee7d0ccfad10
<mask token>

<mask token>
while p > 0:
    cnt = cnt + 1
    p = p // 10
print(cnt)

p = int(input())
cnt = 0
while p > 0:
    cnt = cnt + 1
    p = p // 10
print(cnt)

p=int(input())
cnt=0
while(p>0):
    cnt=cnt+1
    p=p//10
print(cnt)
