Go: package main

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

func sliceAtoi(sa []string) ([]int, error) {
	si := make([]int, 0, len(sa))
	for _, a := range sa {
		i, err := strconv.Atoi(a)
		if err != nil {
			return si, err
		}
		si = append(si, i)
	}
	return si, nil
}

func getDigits(ary []int) (digits int) {
	sum := 0
	for _, v := range ary {
		sum += v
	}

	for sum != 0 {
		sum /= 10
		digits++
	}
	return
}

func getsTwoNumAsArray() (nums [][]int) {
	scanner := bufio.NewScanner(os.Stdin)

	for scanner.Scan() {
		str := scanner.Text()
		if str == "" {
			break
		}

		ary, _ := sliceAtoi(strings.Split(str, " "))
		nums = append(nums, ary)
	}

	return
}

func main() {
	ary := getsTwoNumAsArray()

	for _, v := range ary {
		fmt.Println(getDigits(v))
	}
}

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(" ")
        result = len(str(int(a[0]) + int(a[1])))
        print(result)
    return None

if __name__ == '__main__':
    main()

Python: [print(len(str(i)))for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]]

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: while True:
    Str = input()
    if Str =="EOF":
        break
    a,b = map(int, Str.split())
    #print(a,b)
    print(len(str(a+b)))

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

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

Python: i = 0
while i < 200:
    sum = input()
    if len(sum)<1:
        break
    else:
        sum_list = sum.split(" ")
        print(len(str(int(sum_list[0]) + int(sum_list[1]))))
    i += 1

Python: # coding: utf-8

import sys

def digit_check(n):
    i = 10
    digit = 1
    
    while int(n/i) != 0:
        i *= 10
        digit += 1

    return digit
        
def main():
    for line in sys.stdin:
        ls = list(map(int, line.split(' ')))
        print(digit_check(ls[0]+ls[1]))

if __name__ == '__main__':
    main()

Python: import sys

for line in sys.stdin:
    datas =line.split()
    if (len(datas)):
        v = int(datas[0]) + int(datas[1])
        print(len(str(v)))
    else:
        break

Python: import sys
while 1:
    a, b = map(int, sys.stdin.readline().split())
    c = a + b
    c = str(c)
    print(len(c))

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

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

Python: import sys,math
for x,y in (line.split() for line in sys.stdin):print(int(math.log10(int(x)+int(y))+1))

Python: #!/usr/bin/python3
import sys

def Dnum():
    
    str = " "
    while(str != '\n'):
        str = sys.stdin.readline()
        cnt = 0
        list = str.split(" ")
        num = int(list[0])+int(list[1])
        while(num >= 1):
            cnt=cnt+1
            num = num/10
        print(cnt)

Dnum()

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(str(ans))

Python: def degit(num):
    count = 0
    while num > 0:
        num //= 10
        count += 1
    return count

a = []
b = []
count = 0

while True:
    try:
        buff = input().split()
        a.append(int(buff[0]))
        b.append(int(buff[1]))
        count += 1
    except:
        break

for i in range(count):
    print(degit(a[i]+b[i]))

Python: a = raw_input()
b = raw_input()

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

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

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

Python: import sys
if __name__ == '__main__':

	for line in sys.stdin:
		n,m = map(int,line.split())
		print(len(str(n+m)))

Python: import math
while True:
    try:
        line = input().split(" ")
        a = int(line[0])
        b = int(line[1])
        print(int(math.log10(a+b))+1)
    except:
        break

Python: import sys

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

Python: # Aizu Problem 0002: Digit Number
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


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

Python: import sys
for line in sys.stdin:
    a, b = map(int, input().split())
    c=int(a+b)
    count=0
    while (c/10 != 0 ):
        c=int(c/10)
        count=count+1
    print(count)
else:
    print('Warning: EOF occurred before "0" terminator')

Python: import sys

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

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

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

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

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

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

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

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(len(str(add_ans)))

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

Python: import sys

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

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

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

Python: import sys,math
inputs = list()
for n in sys.stdin:
	inputs.append(list(map(int,n.split())))
for n in inputs:
	print(math.floor(math.log10(n[0]*n[1]))+1)

Python: import sys
for line in sys.stdin:
	a = int(line.split()[0])
	b = int(line.split()[1])
	s = a + b
	print(len(str(s)))

Python: def BigAdd(numa, numb):
	longer = (numa if len(numa) >= len(numb) else numb)
	shorter = (numa if len(numa) < len(numb) else numb)
	carry = 0
	s = ''
	for i in range(-1, -len(shorter) - 1, -1):
		curr = carry + int(longer[i]) + int(shorter[i])
		if curr >= 10:
			carry = 1
			s = str(curr - 10) + s
		else:
			carry = 0
			s = str(curr) + s
	for i in range(-len(shorter) - 1, -len(longer) - 1, -1):
		curr = carry + int(longer[i])
		if curr >= 10:
			carry = 1
			s = str(curr - 10) + s
		else:
			carry = 0
			s = str(curr) + s
	if carry == 1:
		s = '1' + s
	return s

while True:
	try:
		numa, numb = [item for item in input().split()]
		print(len(BigAdd(numa, numb)))
	except EOFError:
		break