import sys
for line in sys.stdin:
        s=sum([int(num) for num in line.split(' ')])
        print(len(str(s))) import sys sys for line in sys.stdin:
        s=sum([int(num) for num in line.split(' ')])
        print(len(str(s))) line sys.stdin sys stdin int(num) for num in line.split(' ') for num in line.split(' ') num line.split(' ') line.split line split ' ' for num in line.split(' ') int(num) int num s=sum([int(num) for num in line.split(' ')]) s sum([int(num) for num in line.split(' ')]) sum [int(num) for num in line.split(' ')] print(len(str(s))) print len(str(s)) len str(s) str s s=sum([int(num) for num in line.split(' ')]) sum([int(num) for num in line.split(' ')]) s
import sys
for line in sys.stdin:
        s=sum([int(num) for num in line.split(' ')])
        print(len(str(s)))