import sys
[print(len(str(sum([int(y) for y in x.split(" ")])))) for x in sys.stdin] import sys sys print(len(str(sum([int(y) for y in x.split(" ")])))) for x in sys.stdin for x in sys.stdin x sys.stdin sys stdin for x in sys.stdin print(len(str(sum([int(y) for y in x.split(" ")])))) print len(str(sum([int(y) for y in x.split(" ")]))) len str(sum([int(y) for y in x.split(" ")])) str sum([int(y) for y in x.split(" ")]) sum [int(y) for y in x.split(" ")] [print(len(str(sum([int(y) for y in x.split(" ")])))) for x in sys.stdin]
import sys
[print(len(str(sum([int(y) for y in x.split(" ")])))) for x in sys.stdin]