Go: package main

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

var sc = bufio.NewScanner(os.Stdin)

func main() {
	for sc.Scan() {
		s := strings.Split(sc.Text(), " ")
		a, _ := strconv.Atoi(s[0])
		b, _ := strconv.Atoi(s[1])
		fmt.Println(len(fmt.Sprint(a + b)))
	}
}

Python: import math
while True:
    try:
        lst = list(map(int, input().split()))
        a, b = lst[0], lst[1]
        c = str(a+b)
        print(len(c))

    except EOFError:
        break

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

Python: import os
for line in sys.stdin:
        s=sum([int(num) for num in line.split(' ')])
        print(len(str(s)))

Python: import math

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

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

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

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

Python: while True:
    line = input()
    if not line:
        break
    a, b = map(int, line.rstrip().split())
    print(len(str(a + b)))

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

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

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

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

Python: # AOJ 0002 Digit Number
# Python3 2018.6.7 bal4u

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

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

Python: import sys
for line in sys.stdin:
        s=sum([int(num) for num in line.split(' ')])
        print(len(str(s)))

Python: data_set = []
while True:
    try:
        k = list(map(int, input().split()))
        data_set.append(k[0] + k[1])
    except:
        for i in data_set:
            print(len(str(i)))
        break

Python: import math

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

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

Python: import sys

def main():

    inputs = sys.stdin.readlines()
    for item in inputs:
        print(len(str(sum(tuple(map(int, item.split()))))))
    
main()

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

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

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(1)

Python: import sys

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

Python: import sys
for line in sys.stdin:
    a, b = line.split()
    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(map(int, str(add_ans)))

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

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

except Exception as ex:
    pass

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

Python: import math
while True:
    try:
        a,b = [int(x) for x in input().split()]
        x = a + b        
        print(int(math.log10(x))+1)
    except:
        break

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

Python: while True:
  str = input()
  if str == "EOF" :
      break
  d = 1
  a , b = str.split(' ')
  s = int(a) + int(b)
  while s > 9:
     s = s / 10
     d = d + 1
  print(d)

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(1)

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=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: import sys, math
for line in sys.stdin:
    a, b = map(int, line.split())
    print(int(math.log(a + b, 10)) + 1)

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

Python: # coding: utf-8
# Your code here!
while 1:
    try:
        line = input()
        lul = line.split()
        #printlul)
        a = int(lul[0])+int(lul[1])
        print(len(str(a)))
    except:
        break

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

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

Python: 
A = []
B = []
s = True
while(s):
    try:
        a,b = map(int, input().split())
    except:
        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: while True:
    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: while True:
    try:
        a, b = map(int, input().split())
        c = a + b
        print(len(str(c)))

    except EOFError:
        break

Python: # coding: utf-8
# Your code here!

for line in open(0).readlines():
    a, b = map(int, line.split())
    c = a+b
    ans = +(c == 0)
    while c:
        ans += 1
        c //= 10
    print(ans)

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

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

Python: import math
nums = list(map(int, input().split()))
if nums[0]==0:
    a=1
else:
    a = int(1.0+math.log(nums[0],10))
if nums[1]==0:
    b=1
else:
    b = int(1.0+math.log(nums[1],10))
print(a+b)

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

Python: while True:
    rig=[int(i) for i in input().split(" ")]
    ke=rig[0]+rig[1]
    ans=1
    count=10
    while True:
        if ke<count:
            print(ans)
            break
        else:
            ans+=1
            count=count*10