Go: package main

import (
  "fmt"
  "unicode/utf8"
)


func main() {
  var a int
  var b int
  for _, err := fmt.Scan(&a, &b); err == nil; _, err = fmt.Scan(&a, &b) {
    fmt.Println(utf8.RuneCountInString(fmt.Sprint(a+b)))
  }
}

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

Python: import math

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

Python: import math
while t == 0:	
		x,y=[int(i) for i in input().split()]
		a = int (math.log10(x + y) + 1)
		print(a)

Python: import sys
from math import log10
for line in sys.stdin:
    (a, b) = [int(i) for i in line.split()]
    print(len(str(a + b)))

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]
        for j in range(1,8):
            if absum < 10:
                print(1)
                break
            elif int(absum/pow(10,j)) == 1:
                print(j+1)
                break

Python: import math

def main():
    data = []
    while 1:
        try:
            n = input().split()
            a = int(n[0])
            b = int(n[1])
            ans = int(math.log10(a+b)+1)
            data.append(ans)
        except EOFError:
            break
        except IndexError:
            break

    for i in data:
        print(i)

Python: import sys
L = sys.stdin.readlines()
for line in L:  ##line?????????????????????
	N = line.split()  ##N??????????????¨????????????
	sums = int(N[0]) + int(N[1])
	print(len(str(sums)))

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

Python: f = open('newfile.txt')
all = []
sums = f.read()
f.close()

lines = sums.split('\n')
for i in range(len(lines)):
	all.append(lines[i].split(' '))

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

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

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

Python: # -*- coding:utf-8 -*-
#Write a program which computes the digit number of sum of two integers a and b.
import sys
import math

array =[]
for line in sys.stdin:
    try:
        array.append(line)
    except EOFError:
        break
    
for i in range(array):
    num = array[i].sprit(' ')
    a = num[0]
    b = num[1]
    n = a + b
    print(int(math.log10(x) + 1))

Python: import sys
import fileinput

for i in fileinput.input():
    a,b = i.split()
    a,b = int(a),int(b)
    print(a+b)

Python: import sys
from math import log10

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

Python: try:
    s=[input() for x in range(200)]
    for i in range(len(s)):
        print(len(str(int(s[i].split(' ')[0])+int(s[i].split(' ')[1]))))
except EOFError:
    pass

Python: import sys

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

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

Python: # -*-coding:utf-8

import fileinput

if __name__ == '__main__':
    for line in fileinput.input():
        digit = 0
        tokens = list(map(int, line.strip().split()))
        a, b = tokens[0], tokens[1]
        num = a + b

        print(len(str(num)))

Python: while True:
    try:
        l=list(map(int,input().split()))
        print(len(str(l[0]+l[1])))
    except:
        break

Python: import sys

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

Python: flag = True
inNums = []
while flag:
    inNums.append(raw_input().strip().split())
    if inNums[-1] == []:
        flag = False
        
for i in range(len(inNums)-1):
    a = int(inNums[i][0])
    b = int(inNums[i][1])
    temp = a+b
    x = 0
    digitNum = 0
    while temp // (10**x) > 0:
        digitNum = x
        x += 1
    print(digitNum)

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

Python: import sys
input_lines=sys.stdin.readlines()
for line in input_lines:
 x,y=[int(i) for i in line]
 print(len(str(x+y)))

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

Python: try:
    while 1:
        print(len(str(sum((input().split())))))
except Exception:
    pass

Python: import math

def main():
    data = []
    while 1:
        try:
            n = input().split()
            a = int(n[0])
            b = int(n[1])
            ans = int(math.log10(a+b)+1)
            data.append(ans)
        except IndexError:
            #EOF
            break

        for i in data:
            print(i)

if __name__ == "__main__":
    main()

Python: import sys,math

inputs = sys.stdin.readlines()
inputs = list(map(lambda x:list(map(int,x.split())),inputs))

for n in inputs:
	print(math.floor(math.log10(n[0]*n[1]))+1)

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())
        d = 0
        s = sum([a,b])
        while (s):
            s //= 10
            d += 1
        print(d)
    except EOFError: break

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

Python: import sys
def main():
    for line in sys.stdin:
        A = list(map(int,line.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: while True:
    a, b = map(int, input().rstrip().split())
    print(len(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: num = int(input()) + int(input())
print(len(str(num)))

Python: def __main():

    x = input()
    y = input()

    z = x + y
    print(len(str(z)))


__main()

Python: from sys import stdin
import math
import fileinput

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

Python: a = raw_input() ;l = a.split(); print(len(str(l[0]))) if (len(l) != 2) else (len(str((int(l[0]) + int(l[1]))))) if(int(l[0]) + int(l[1]) > 0) else (len(str((int(l[0]) + int(l[1])))) - 1)

Python: lst = []
for i in range(200):
    try:
        lst.append(input())
    except EOFError:
        break

print(*[len(str(sum([int(num) for num in string.split(' ')]))) for string in lst], sep='\n')

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

import math
for n in res:
    print(int(math.log(n,10))+1)

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

Python: data_set = list(map(int, input().split()))
data = data_set[0] + data_set[1]
print(len(str(data)))

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

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