import sys
[print(len(str(sum(list(map(int, i.split())))))) for i in sys.stdin] import sys sys print(len(str(sum(list(map(int, i.split())))))) for i in sys.stdin for i in sys.stdin i sys.stdin sys stdin for i in sys.stdin print(len(str(sum(list(map(int, i.split())))))) print len(str(sum(list(map(int, i.split()))))) len str(sum(list(map(int, i.split())))) str sum(list(map(int, i.split()))) sum list(map(int, i.split())) list map(int, i.split()) map int i.split() i.split i split [print(len(str(sum(list(map(int, i.split())))))) for i in sys.stdin]
import sys
[print(len(str(sum(list(map(int, i.split())))))) for i in sys.stdin]