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: import math

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

    def add_size(self):
        ans = self.a+self.b
        return int(math.log10(ans)+1)

def main():
    data_set = []

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

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

        data_set.append(DataSet(a,b))

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

if __name__ == "__main__":
    main()

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

import sys
import os

for s in sys.stdin:
    a, b = list(map(int, s.split()))
    c = a + b

    if c == 1:
        print(1)
        continue

    for i in range(7):
        left = 10 ** i
        right = 10 ** (i + 1)
        if left <= c < right:
            print(i + 1)
            break

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

Python: #! /usr/bin/python3

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

Python: import sys
from math import log10, floor
print('\n'.join(map(str, [floor(log10(sum(map(int, ab.split())))) + 1 for ab in sys.stdin])))

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 math
x = map(raw_input().split(' '))
a = math.log(x[0] + x[1])
print(int(a)+1)

Python: import math
while t == 0:	
	try:
		x,y=[int(i) for i in input().split()]
	except:
		break
	else:
		print("s")

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

Python: import sys

def log10(num):
    log = 0
    while num > 0:
        log += 1
        num //= 10
    return log

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

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

Python: line = []
try:
    while True:
        a,b = input().split(" ")
        d = int(a) + int(b)
        list = [c for c in str(d)]
        line.append(len(list))
except EOFError:
    for e in range(0,len(line)):
        print(line[e])

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

Python: while True:
 try:
  x,y=[int(i) for i in input().split()]
  print(len(str(x+y)))
 except EOFError:
  break

Python: import math

while True:
	try:
		a, b = map(int, input().split())
		print(int(math.log10(a + b, 10)) + 1)
	except EOFError:
		break

Python: while True:
	try:
		N = map(int, input().split(' '))
		sums = N[0] + N[1]
		keta = list(str(sums))
		print(len(kata))
	except EOFError:
		break

Python: import sys
lines = sys.stdin.readlines()
for line in lines:
    line = line.split(" ")
    inp = []
    for i in line:
        inp.append(int(i))
    print (len(str(inp[0]+inp[1])))

Python: import math

lis=[]
n=0
while n < 200:
    nums = list(map(int, input().split()))
    print(nums)
    a=int(1.0+math.log(nums[0],10))+int(1.0+math.log(nums[1],10))
    lis.append(a)

for i in lis:
    print(i)

Python: import sys
# l = sys.stdin.readline()
l = sys.stdin.readlines()
for line in l:
    data = map(int, line.split(" "))
    print(len(str(data[0] + data[1])))

Python: import sys
 
[print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin]]

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

Python: def main():
	a, b = map(int, input().split())
	c = a + b
	digits = 1
	while c // 10 != 0:
		c = c // 10
		digits += 1

	print(digits)

if __name__ == '__main__':
	main()

Python: from math import log10, floor
while True:
    try:
        w = input()
    except EOFError:
        break
    w = list(map(int, w.split()))
    print(floor(log10(sum(w))+1))

Python: import sys

if __name__ == '__main__':
    for line in sys.stdin:
        (x,y) = map(int,line.split())
        print(len(str(x+y)))

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

Python: import sys
for line in sys.stdin:
    nums = list(map(int,line.split()))
    print(len(str(sum(nums))))

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

Python: import sys
for line in sys.stdin:
	l=0
	for l in range(len(line)):
		if(line[l] == ' '):
			p = l
			break
	a = line[0:p]
	b = line[p+1:]
	c = int(a)+int(b)
	d = 1
	while(int(c/10) != 0):
		d += 1
		c = int(c/10)
	print(d)

Python: # usr/bin/python
# coding: utf-8
################################################################################
# Digit Number
# Write a program which computes the digit number of sum of two integers a and b.
#
# Input
# There are several test cases. Each test case consists of two non-negative integers a and b which are separeted by a space in a line. The input terminates with EOF.
#
# Constraints
# 0 ??? a, b ??? 1,000,000
# The number of datasets ??? 200
# Output
# Print the number of digits of a + b for each data set.
#
# Sample Input
# 5 7
# 1 99
# 1000 999
# Output for the Sample Input
# 2
# 3
# 4
#
################################################################################

import math

if __name__ == "__main__":
    input_lines  = input()
    a = int(input_lines.split(" ")[0])
    b = int(input_lines.split(" ")[1])
    data_size = int(math.log10(a+b) + 1)
    print(data_size)
    exit(0)

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

Python: listal=[]
while True:
    try:
        listal.append(input())
    except EOFError:
        break
tyon=[]
for i in listal:
    lista=i.split()
    tyon.append(len(str(int(lista[0])+int(lista[1]))))
for i in tyon:
    print(i)

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

Python: res=[]
s=True
while s:
    s=input()
    if s:
        a,b = [int(x) for x in s.split()]
        res.append(a+b)

for n in res:
    print(len(str(n))+1)

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

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

Python: while(1):
    try:
        a, b= (int(i) for i in input().split())
        print(len(str(eval('a+b'))))
    except:break

Python: def digits(n):
    if n < 10: return 1
    c = 0
    while n > 0:
        c += 1
        n = n // 10

    return c

inp = input()
while (inp != ''):
    n, m = inp.split(' ')
    n = int(n)
    m = int(m)
    print(digits(n + m))
    inp = input()

Python: values = []
x, y = [int(x) for x in input().split()]
digit = 0
sum = x + y
while sum >= 1:
    sum //= 10
    digit += 1
print(digit)

Python: 
A = []
B = []
s = True
while(s):
    try:
        a,b = map(int, input().split())
    except ValueError:
        break
    A.append(a)
    B.append(b)

for i in range(len(A)):
    sum = A[i] + B[i]
    digits = 1
    while(sum//10 != 0):
        digits += 1
        sum //= 10
    print(str(digits))

Python: import fileinput

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