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: #!/usr/bin/env python3
#coding: utf-8

# Volume0 - 0002 (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002)

while 1:
    try:
        i = input()
        l = i.split(" ")
        s = int(l[0]) + int(l[1])
        ans = len(str(s))
        print(ans)
    except:
        break

Python: while True:
    try:
        s = [int(x) for x in input().split()]
    
        print(len(str(s[0]+s[1])))
        
    except:
        break

Python: # -*- coding:utf-8 -*-
 
def main():
    while True:
        try:
            IN=input()
            if IN=="":
                raise EOFError
            else:
                val=IN.split(" ")
                a=int(val[0])+int(val[1])

                i=1
                flag=True
                while flag:
                    a=a/10
                    if a<1:
                        flag=False
                    else:
                        i+=1

            print(i)
        except EOFError:
            break
  
if __name__ == '__main__':
    main()

Python: import math

def get_input():
    while True:
        try:
            yield ''.join(input())
        except EOFError:
            break

line = list(get_input())
for l in range(len(line)):
    a,b = [int(i) for i in line[l].split()]
    S = a + b
    keta = 0
    while S > 0:
        S = math.floor(S / 10)
        keta = keta + 1
    print(keta)

Python: import sys
try:
    while True:
        a, b = list(map(int, input().split()))
        c = str(a + b)
        print(len(c))
except Exception:
    sys.exit()

Python: flag = True
i = 0
inNums = []
while flag:
    input = raw_input().strip().split()
    inNums.append(input)
    if input == []:
        flag = False
for i in range(len(inNums)-1):
    a = int(inNums[i][0])
    b = int(inNums[i][1])
    temp = a+b
    x = 0
    while temp // (10**x) > 0:
        x += 1
    print(x)

Python: import sys

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

Python: #a = []
while (True):
    b = list(map(int, input().split(" ")))
    #print(b)
    if(b == ['']): break
    #a.append(b)
    c = 1
    d = b[0] + b[1]
    while(d >= 10):
        c += 1
        d = d / 10
    print(c)

Python: import math
while True:
    try:

        num = input().split(" ")
        num1 = int(num[0])
        num2 = int(num[1])
        sum_number = num[0] + num[1]
        ans = int(math.log10(sum_number) + 1)
        print(ans)

    except:
        break

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

Python: data_set_count = 3
for _ in range(data_set_count):
    data_set = list(map(int, input().split()))
    data = data_set[0] + data_set[1]
    print(len(str(data)))

Python: try:
	lines = []
	while True:
		lines.append(map(int, input().split(' ')))
except EOFError:
	for i in range(len(lines)):
		sums = lines[i][0] + lines[i][1]
		print(len(str(sums)))

Python: while 1:
    i = input().split()
    if not i:
        break

    print(len(str(sum(map(int, i)))))

Python: import sys;

for line in sys.stdin:
	a = [int(num) for num in line.split()];
	sum = a[0] + a[1];
	count = 0;
	while sum > 0:
		count += 1;
		sum //= 10;
	print(count);

Python: a = input()
b = input()
c = str(int(a)+int(b))
print(len(c))

Python: import sys

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

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

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

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

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

Python: def main():
    def inputs():
        li = []
        count = 0
        try:
            while count < 200:
                li.append(input())
                count += 1
        except EOFError:
            return li
        return li

    li = inputs()
    for x in li:
        a = x.split(" ")
        print(int(a[0]) + int(a[1]))
    return None

if __name__ == '__main__':
    main()

Python: import sys
l = []
for line in sys.stdin:
    l.append(line)

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    digitstr = "{0}".format(sum)
    print(len(digitstr))

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

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 1:
    a, b = map(int, input().split())
    print(len(str(a+b)))

Python: output = []
while True:
    try :
        a,b = map(int, input().split())
    except :
        break
    output.append(len(str(a+b)))
for x in range(len(output)):
    print(output[x])

Python: import math

while True:
    try:
        data = list(map(int,input().split()))
        sum = data[0] + data[1]
        sum_size = int (math.log10(sum) + 1)
        print(sum_size)
    except:
        break;

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

Python: import math
a,b=map(int,input().split())
c=int(math.log10(a+b)+1)
print(c)

Python: def __main():

    x = input()
    y = input()

    z = x + y
    print(len(str(z)))


__main()

Python: if __name__ == "__main__":
    for i in range(200):
        a = list(map(int,input().strip().split()))
        if len(a) == 0 :break
        absum = a[0] + a[1]
        count = 1
        while 1:
            if absum < 10: break
            absum= absum /10
            count += 1
        print(count)

Python: import sys
[print(len(str(sum(list(map(int, i.split())))))) for i in sys.stdin]

Python: if __name__ == '__main__':

    nums = []

    for line in sys.stdin:
        if line == "\n":
            break
        else :
            nums.append([int(item) for item in line.split(" ")])

    for n in nums:
        sum = n[0] + n[1]
        print(len(str(sum)))

Python: import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for line in ab:
    a, b = line[0], line[1]
    add_ans = a + b
    print(int(math.log10(add_ans) + 1))

Python: while True:
 a,b=[int(i) in input().split()]
 print(len(a+b))

Python: import sys

lines = []
for line in sys.stdin:
    num = line.split(" ")
    print(len(str(int(num[0]) + int(num[1]))))

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

Python: import sys

l = sys.stdin.readlines()
for i in l:
    x,y = map(int,i.split())
    print(len(str(x+y)))

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

Python: import sys

tokens = []
for line in sys.stdin.readlines():
    tokens.append(list(map(int, line.strip().split())))

for i in range(len(tokens)):
    print(tokens[i][0] + tokens[i][1])

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

Python: import math
a, b = map(int, input().split())
print(int(math.log10(a + b)) + 1)

Python: import sys

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

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