Go: package main

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

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: def main():
    while True:
        input_line = raw_input()
        num1 = int(input_line.split(' ')[0])
        num2 = int(input_line.split(' ')[1])
        
        sum = str(num1 + num2)
        
        count = 0
        for num in sum:
            count += 1
        else:
            print(count)
    
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.001+math.log(c,10)))
    else:
        print(1)

Python: print(len(str(sum(map(int, input().split())))))

Python: import math

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

    print(int(math.log10(a + b)) + 1)

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

Python: from math import log10
while True:
	try:
		a, b = map(int, raw_input().split())
		print(int(log10(a+b)) + 1)
	except EOFError:
		break

Python: import sys

for line in sys.stdin:
  x, y = map(int, line.split())
  print(x+y)

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: #xs = [int(x) for x in input().split()]
import sys
for line in sys.stdin:
    a, b = map(int, line.split())
    i = a + b
    j = 1
    while i >= 10:
        i = i / 10
        j = j + 1
    print(j)

Python: while True:
    a,b=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 main():
    a, b = map(int, input().split())
    hoge = list(str(a + b))
    print(len(hoge))

if __name__ == "__main__":
    main()

Python: print (len(str(int(input()) + int(input()))))

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

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

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

Python: def sum_of_num(num_list):
    return sum(num_list)

def calculate_digit_num(num):
    z = num / 10
    if z == 0:
        return 1
    else:
        return 1 + calculate_digit_num(z)

while True:
    try:
        num_list = int(raw_input().split(' '))
        summation = sum_of_num(num_list)
        calculate_digit_sum(summation)
    except:
        break

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

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

Python: a, b = input().split()
n = a + b
num = int(n)
count = 0
while num:
    i = num % 10
    num = num // 10
    if i is 0:
        continue
    else:
        count += 1
print(count)

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

Python: import math
while True:
    line = input().split(" ")
    if(len(line) != 2):
        exit()
    a = int(line[0])
    b = int(line[1])
    print(int(math.log10(a+b))+1)

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

Python: import fileinput

if __name__ == '__main__':
    for line in fileinput.input():
        tokens = line.strip().split()
        a, b = int(tokens[0]), int(tokens[1])
        c = a+b
        print(len(str(c)))

Python: while True:
    try:
        line = input()
    except EOFError:
        break
    s = sum(map(int, line.split()))
    num = 0
    for c in s:
        if c.isdigit():
            num += 1
    print(num)

Python: while True:
    a,b = map(int, input().split())
    d = 0
    s = sum([a,b])
    while (s):
        s //= 10
        d += 1
    print(d)

Python: while True:
    try:a,b=map(int,input().split())
    except:break
    if a=="" or b==":":
        break
    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: while True:
    try:
        a, b = map(int, input().split())
        i = a + b
        c = 1
        while i:
            if int(i/10) == 0:
                print(c)
                break
            c+=1
            i /= 10
    except Exception:
        break

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

Python: while True:
    try:
        x = list(map(int, input().split(' ')))
        n = x[0] * x[1]
        print(len(str(n)))
    except EOFError:
        break

Python: n = list(map(int, input().split()))

for i in range(0,len(n),2):
    print(len(str(sum((n[i], n[i+1])))))

Python: import sys
if __name__ == "__main__":
    for i in sys.stdin:
        a,b = list(map(int,i.strip().split()))
        print(len(str(a+b)))

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

Python: import sys

for line in sys.stdin:
    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: #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
	while True:		
		try:
			num = eval(input().replace(" ","+"))
		except:
			return
		else:
			print(len(str(num)))
if __name__ == '__main__':
  main()

Python: print(len(str(sum(list(map(int,input().split()))))))

Python: class add():
    def __init__(self,a,b):
        self.a = a
        self.b = b

    def add(self):
        return self.a+self.b

def main():
    data_set = []
    ds_max = 200

    for i in range(0, ds_max):
        n = input().split()

        a = int(n[0])
        b = int(n[1])

        data_set.append(add(a,b))

    for i in range(0, ds_max):
        ans = data_set[i].add()
        print(ans)


if __name__ == "__main__":
    main()

Python: # coding: utf-8

import sys

def digit_check(n):
    digit = 1
    
    while int(n/(10**digit)) != 0:
        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.readlines():
    a, b = map(int,line.split())
    c=int(a+b)
    count=0
    while (c/10 != 0 ):
        c=int(c/10)
        count=count+1
    print(count)

Python: num = int(input()) + int(input())
print(len(str(num)))

Python: def solve():
    from sys import stdin
    input_lines = stdin
    
    from math import log10
    
    for line in input_lines:
        a, b = map(int, line.split())
        
        if (a == 0 and b == 0):
            break
        
        print(int(log10(a + b)) + 1)

solve()