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

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

Python: import math
nums = input().split()
print(math.ceil(math.log10(int(nums[0])*int(nums[1]))))

Python: #! /usr/bin/env python
# -*- coding: utf-8 -*-

def main():
    nums = input().split(" ")
    sum = int(nums[0]) + int(nums[1])
    print(len(str(sum)))

if __name__ == '__main__':
    main()

Python: import sys

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

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

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

Python: import sys

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

Python: while True:
	try:
		value = input().split(" ")
		result = int(value[0]) * int(value[1])
		print(str(result))
	except EOFError:
		break

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: x = []
try:
	while True:
		a, b = map(int, raw_input().split())
		x.append(len(list(str(a + b))))
except EOFError:
	for i in x:
		print(i)

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

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

Python: 

import math
while True:
	x = map(int,raw_input().split(' '))
	a = math.log10(x[0] + x[1])
	if x[0] != 'homoo...':
		print(int(a+1))
		continue
	else:
		break

Python: import sys
if __name__ == '__main__':
    for line in sys.stdin:
        a, b = map(int, line.split())
        n = str(a + b)
        print(len(n))

Python: import math

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
l=[[int(i) for i in l.split()] for l in sys.stdin]
for i in l:
    print(len(str(i[0]+i[1])))

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

Python: all = []
for i in range(3):
	sums = list(map(int, input().split(' ')))
	all.append(sums)

for i in range(len(all)):
	keta = str(all[i][0] + all[i][1])
	print(len(list(keta)))

Python: import math

lst = []
while True:
    try:
        a, b = map(int, input().split())
        lst.append(int(math.log10(a+b))+1)
    except EOFError:
        for i in lst:
            print(i)
        break

Python: #! /usr/bin/env python
# -*- coding: utf-8 -*-

def main():
    nums = input().split(" ")
    sum = int(nums[0]) + int(nums[1])
    print(len(str(sum)))

if __name__ == '__main__':
    main()

Python: import math
import sys

for num in sys.stdin:
	num = num.split()
	a = int(num[0])
	b = int(num[1])
	size = int (math.log10(a+b) + 1)
	print(size)

Python: p = input().split(" ")
n = int(p[0]) +int(p[1])
print(len(str(n)))

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

Python: # coding: utf-8
# Here your code !

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

Python: while True:
    try:
        a, b = (int(x) for x in input().strip().split(' '))
        sum = a + b
        digit = 0

        while sum >= 1 :
            sum = sum / 10
            digit += 1

        print(digit)

    except EOFError:
        break

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

Python: import sys, math

def run():
    N = []
    for n in sys.stdin:
        a,b = map(int, n.split())
        N.append((a,b))

    for a,b in N:
        print(math.floor(math.log10(a+b)) + 1)

if __name__ == '__main__':
    run()

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: 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 j in range(0, 199):
        ans = data_set[j].add_size()
        print(ans)

if __name__ == "__main__":
    main()

Python: while True:
    try:
        l = map(int, raw_input().split())
        l1 = [int(i) for i in l]
        sum = (l1[0] + l1[1])
        import math
        print(int(math.log10(sum) + 1))
    except EOFError:
        break

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

Python: data_set_count = 3
data_set = []
for _ in range(data_set_count):
    data_set.append(list(map(int, input().split())))

for i in range(data_set_count):
    data = data_set[i][0] + data_set[i][1]
    print(len(str(data)))

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

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

Python: try:
    s = []
    while True:
        l = input().split()
        t = int(l[0]) + int(l[1])
        n = str(t)
        print(len(n))
except EOFError:
    pass

Python: l = []

for i in range(200):
	a = input()
	if a == 'EOF':
		break
	else:
		b = a[0] + a[2]
		l.append(l)

n = 0

for i in range(len(l)):
	print(len(l[n]))

Python: try:
    while True:
        a,b=[int(i) for i in input().split(" ")]
        c=a+b
        S=0
        while c>0:
            S+=1
            c=int(c/10)
        print(S)
except EOFError:
    pass

Python: n = input()
n = n.split(" ")
print(n)
a = 0
for i in n:
    a += int(i)
print(len(str(a)))