import sys

[print(len(str(sum([int(j) for j in i.split()])))) for i in sys.stdin] import sys sys print(len(str(sum([int(j) for j in 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([int(j) for j in i.split()])))) print len(str(sum([int(j) for j in i.split()]))) len str(sum([int(j) for j in i.split()])) str sum([int(j) for j in i.split()]) sum [int(j) for j in i.split()] [print(len(str(sum([int(j) for j in i.split()])))) for i in sys.stdin]
import sys

[print(len(str(sum([int(j) for j in i.split()])))) for i in sys.stdin]