lst = []
for i in range(200):
    try:
        lst.append(input())
    except EOFError:
        break

print(*[len(str(sum([int(num) for num in string.split(' ')]))) for string in lst], sep='\n') lst = [] lst [] for i in range(200):
    try:
        lst.append(input())
    except EOFError:
        break i range(200) range 200 try:
        lst.append(input())
    except EOFError:
        break except EOFError:
        break break lst.append(input()) lst.append lst append input() input len(str(sum([int(num) for num in string.split(' ')]))) for string in lst for string in lst string lst for string in lst len(str(sum([int(num) for num in string.split(' ')]))) len str(sum([int(num) for num in string.split(' ')])) str sum([int(num) for num in string.split(' ')]) sum [int(num) for num in string.split(' ')] print(*[len(str(sum([int(num) for num in string.split(' ')]))) for string in lst], sep='\n') print *[len(str(sum([int(num) for num in string.split(' ')]))) for string in lst] [len(str(sum([int(num) for num in string.split(' ')]))) for string in lst] sep='\n' sep '\n' lst = [] [] lst
lst = []
for i in range(200):
    try:
        lst.append(input())
    except EOFError:
        break

print(*[len(str(sum([int(num) for num in string.split(' ')]))) for string in lst], sep='\n')