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