Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
	"strings"
)

func main() {
	scanner := bufio.NewScanner(os.Stdin)
	for scanner.Scan() {
		row := strings.Split(scanner.Text(), " ")
		var sum int

		for _, v := range row {
			num, _ := strconv.Atoi(v)
			sum += num
		}

		fmt.Println(len([]rune(strconv.Itoa(sum))))
	}
}

Python: 
while 1:
    try: print(len(str(sum(list(map(int, input().split()))))))
    except: break

Python: a, b = (int(x) for x in input.split())

print(len(str(a + b)))

Python: while True:
    try:
        a,b = map(int, input().split())
        print(len(str(a+b)))
    except EOFError:
        break

Python: while True:
    try:
        a,b=map(int,input().split())
        c=a+b
        c=str(c)
        print(len(c))
    except:
        break

Python: answers=[]
while True:
    try:
        nums=input().split()
        answers.append(len(str(int(nums[0])+int(nums[1]))))
    except :
        break
for i in range(len(answers)):
    print(answers[i])

Python: import sys
L = list()

for i in sys.stdin:
    p = input().split(" ")
    q = int(p[0]) +int(p[1])
    L.append(q)

for j in range(int(len(L))):
    print(L[j])

Python: import fileinput

if __name__ == "__main__":
    for line in fileinput.input():
        v = line.split(" ")
        print(sum([int(i) for i in v]))

Python: import math
while True:
	x = map(int,raw_input().split(' '))
	a = math.log10(x[0] + x[1])
	if str(x[0]) != 'homoo...':
		print(int(a+1))
		continue
	else:
		break

Python: import math

for n in range(200):
    nums = list(map(int, input().split()))
    if nums==[]:
        break
    else:
        if nums[0]==0:
            a=1
        else:
            a = int(1.0+math.log(nums[0],10))
        if nums[1]==0:
            b=1
        else:
            b = int(1.0+math.log(nums[1],10))
        print(a+b)

Python: l = []

for i in range(200):
	a,b = map(str,input().split(' '))
	if a == 'EOF':
		break
	else:
		c = int(a)
		d = int(b)
		e = c + d

		l.append(e)
		
		a = 0
		b = 0
		c = 0
		d = 0
		e = 0

n = 0

for i in range(len(l)):
	print(len(l[n]))

Python: import sys

d = sys.stdin.readline()
while d:
    a, b = map(int,d.split())
    print(len(str(a+b)))
    d = sys.stdin.readline()

Python: # -*- coding:utf-8 -*-

while True:
    array = input().split()
    a, b = int(array[0]), int(array[1])
    
    x = a+b
    print(int(math.log10(x) + 1))

Python: import math
while True:
	try:
		x,y=map(int,input().split())
		print(int(math.log10(x+y))+1)
	except EOFError:
		break

Python: while True:
	try:
		n=list(map(int, input().split()))
	except EOFError:
		break
	a=n[0]+n[1]
	for i in range(0,10):
		if a/10**i<10:
			print(i+1)
			break

Python: #!/usr/bin/env python3

import collections
import sys

def read_prob():
    inputs = []
    try:
        while True:
            line = input().strip().split()
            a, b = line[0], line[1]
            inputs.append(int(a) + int(b))
    except EOFError:
        pass
    return inputs

if __name__ == '__main__':
    inputs = read_prob()
    for i in range(3):
        answer = len(str(inputs[i]))
        print(answer)

Python: import math
x = map(raw_input().split(' '))
a = math.log10(x[0] + x[1])
print(int(a)+1)

Python: values = []
i = 0
while True:
    values.append([int(x) for x in input().split()])
    if [] == values[i] and 0 == len(values[i]):
        values.pop()
        break
    else:
        i += 1

sum = 0
digit = 0
for x, y in values:
    sum = x + y
    digit = 0
    while sum >= 1:
        sum //= 10
        digit += 1
    print(digit)

Python: while True:
    try:
        a,b=map(int,input().split())
    except:
        break
    print(len(str(a+b)))

Python: while True:
  try:
    a, b = map(int, input().split(" "))
    print(len(str(a + b)))

  except:
    break

Python: while True:
    try:
        a, b = map(int, input().split())
        print(len(str(a+b)))
    except EOFError:
        break

Python: while True:
    try:
        a, b = map(int, input().split())
        print(len(str(a + b)))
    
    except EOFError: break

Python: import math

def main():
    while 1:
        try:
            n = input().split()
            a = int(n[0])
            b = int(n[1])
            ans = int(math.log10(a+b)+1)
            print(ans)
        except IndexError:
            break

if __name__ == "__main__":
    main()

Python: import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    c=a+b
    if c!=0:
        print(int(1.00001+math.log(c,10)))
    else:
        print(1)

Python: def main():
	import sys

	for line in sys.stdin:
		a, b = map(int, line.split())
		c = a + b
		digits = 1
		while c // 10 != 0:
			c = c // 10
			digits += 1

		print(digits)

if __name__ == '__main__':
	main()

Python: import sys

for i in sys.stdin:
    a,b = i.split()
    a,b = int(a),int(b)
    print(a+b)

Python: while True:
    try:
        inputNums = list(map(int, input().split()))
        print(len(str(inputNums[0] + inputNums[1])))
    except:
        break

Python: while True:
    line = input()
    if line == '':
        break
    a, b = map(int, line.rstrip().split())
    print(len(str(a + b)))

Python: import math

def main():
    data = []
    while 1:
        try:
            n = input().split()
            a = int(n[0])
            b = int(n[1])
            ans = int(math.log10(a+b)+1)
            data.append(ans)
        except IndexError:
            break

        for i in data:
            print(i)

if __name__ == "__main__":
    main()

Python: import sys
for i in sys.stdin:
    a,b = map(int, i.split())
    print(len(str(a+b)))

Python: while True:
    try:
        a, b = map(int, input().split())
        print(len(str(a+b)))
    except:
        break

Python: import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    if a==0 and b==0:
        print(1)
    else:
        if a==0:
            a=1
        else:
            a = int(1.0+math.log(a,10))
        if b==0:
            b=1
        else:
            b = int(1.0+math.log(b,10))
        print(a+b)

Python: import math

while 1:
  try:
    a,b=map(int, input().split())
    print(len(format(a+b)))

  except:
    break

Python: while True:
    try:
        x = input()
        a, b = list(map(int, x.split()))
        c = a + b
        print(len(str(c)))
    except:
        break

Python: import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])

    if a==0:
        a=1
    else:
        a = int(1.0+math.log(a[0],10))
    if b==0:
        b=1
    else:
        b = int(1.0+math.log(b[1],10))
    print(a+b)

Python: import sys
for line in sys.stdin:
    a, b = map(int, line.split())
    print(len(str(a+b)))

Python: a,b=map(int,input().split())
sum=str(a+b)
print(len(sum))

Python: while True :
    try :
        a, b = map(int, input().split())
        print(len(str(a + b)))
    except :
        break

Python: a,b=map(int,input().split())
num=a+b
print(len(str(num)))

Python: while(True):
    try:
        a = map(int, raw_input().split())
        b = str(a[0] + a[1])
        print(len(b))
    except Exception:
        break

Python: while True:
  try:
    a, b = map(int, input().split())
    c = a + b
    cc = str(c)
    print(len(cc))
    
  except EOFError:
    break

Python: import math
for _ in range(200):
    a, b = list(map(int, input().split()))
    add_ans = a + b
    print(int(math.log10(add_ans)) + 1)

Python: import sys
for e in sys.stdin.readlines():
 print(len(str(sum(map(int,e.split())))))

Python: while True:
  try:
    x, y = map(int, input().split())
    print(len(str(x+y)))
  except EOFError:
    break

Python: import sys
from math import log10

for line in sys.stdin:
        a, b = map(int, line.split())
        print(int(log10(a+b)+1))