Go: package main

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

func main() {
        sc := bufio.NewScanner(os.Stdin)

        for sc.Scan() {
                digits := 0
                num := 0
                for _, s := range strings.Fields(sc.Text()) {
                        i, _ := strconv.Atoi(s)
                        num += i
                }
                for num > 0 {
                        digits += 1
                        num /= 10
                }
                fmt.Printf("%d\n", digits)
        }
}

Python: import math

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

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

Python: import sys,math
for l in sys.stdin:
    print(math.floor(math.log(sum(map(int,l.split())),10)+1))

Python: import sys
import math

for line in sys.stdin:
    l = line.split()
    digit = int(math.log10(int(l[0]) + int(l[1]))) + 1
    print(digit)

Python: import sys
try:
    while True:
        a,b= map(int, input().split())
        sum1=a+b
        sum1s=str(sum1)
        kata_sum1s=len(sum1s)
        keta=int(kata_sum1s)
        print(str(keta))
except EOFError:
    pass

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

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

Python: while 1:
    try:
        sum = input()
        sum_list = sum.split()
        print(len(str(int(sum_list[0]) + int(sum_list[1]))))
    except EOFError:
        break

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

Python: import sys
import math

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

Python: import itertools
import operator

dataset = []
while True:
    try:
        dataset.append(input())
    except EOFError:
        break

for item in (sum(int(y) for y in x.split()) for x in dataset):
    print(len(str(item)))

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.0000001+math.log(c,10)))
    else:
        print(1)

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

Python: while True:
    try:
        line = input()
    except EOFError:
        break
    print(len(list(filter(lambda c: c in '123456789', line))))

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

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

Python: import sys
a = []
for line in sys.stdin:
    a.append(line)
for i in a:
    print(i[0] + i[1])

Python: while True:
    try:
        x,y=[int(i) for i in input().split()]
        print(len(str(x+y)))
    except:
        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 sys

for line in sys.stdin:
    sum = 0
    for x in line.split():
        sum += int(x)
    print(len(str(sum)))

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

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

Python: a,b=map(int,input().split())
c=a+b
ans=0
if c>=0 and c<=9:
    ans=1
if c>=10 and c<=99:
    ans=2
if c>=100 and c<=999:
    ans=3
if c>=1000 and c<=9999:
    ans=4
if c>=10000 and c<=99999:
    ans=5
if c>=100000 and c<=999999:
    ans =6
if c>=1000000 and c<=9999999:
    ans=7
print(ans)

Python: for var in range(1,2001):
    try:
        a,b=map(int,input().split())
        c=a+b
        c=str(c)
        print(len(c))
    except:
        break

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

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

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

Python: import sys
import math

for line in sys.stdin:
    a, b = map(int, line.split())
    print(int(math.log(a + b, 10)//1 + 1))

Python: from sys import stdin
import math

lines = [line for line in stdin]

for line in lines:
    a, b = [float(n) for n in line]
    print(math.floor(math.log10(a + b)))
    # x1, y1, x2, y2, x3, y3, xp, yp = [float(r) for r in line]
    # print(x1, y1, x2, y2, x3, y3, xp, yp)

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

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

Python: import sys
import math

ary=[]
ans=[]
for i in sys.stdin:
    ary.append(list(map(int,i.split())))
    ans.append(int(math.log10(sum(ary[-1]))+1))
print('\n'.join(map(str,ans)))

Python: import sys

for line in sys.stdin.readlines():
    i = line.rstrip().split(' ')
    j = int(i[0]) + int(i[1])
    a = str(j)
    print(len(a))

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: [print(i//10)for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]]

Python: def main():
    for i in range(3):
        A = list(map(int,input().split()))
        C = A[0]+A[1]
        count = 0
        while True:
            C/=10
            if C < 1:
                break
            count += 1
        print(count+1)

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])
    if a==0 and b==0:
        print(2)
    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: while True:
	try:
		a,b = map(int, input().split())
	except:
		break

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

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

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

Python: import sys

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

Python: def compute_digits_num(a,b):
    c = a + b
    s = 0
    for c in str(c):
        s += 1
    return s

try:
    while True:
        a, b = list(map(int, input().split()))
        print(compute_digits_num(a,b))
except:
    pass

Python: a = int(input())
b = int(input())
c = a+b
d = 1
while(int(c/10) != 0):
	d += 1
	c = int(c/10)
print(d)

Python: import sys

for line in sys.stdin: print(sum(map(int,line.split())))

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

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