Write a program which computes the digit number of sum of two integers a and b.
while True:
	try:
		a,b = map(int,input().split(" "))
		print(a+b)
	except: break 
while True:
	try:
		a,b = map(int,input().split(" "))
		print(len(str(a+b)))
	except: break 