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

Python: while True:
 a,b=[int(i) for i in input().split()]
 if a==False:
  break
 print(len(a+b))

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

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

import sys

def get_digits(n):
    if n < 0:
        n *= -1
    return len(str(n))


def main():
    data = []
    for line in sys.stdin:
        a, b = map(int, input().split())
        digits = get_digits(a+b)
        print(digits)

if __name__ == '__main__':
    main()

Python: import math
while t == 0:	
	try:
		n = int(raw_input().split())
	except:
		break
	else:
		print(math.log10(int(n[0]) + int(n[1])) + 1)

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

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

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())
    except:break
    c=a+b
    ans=0

    while c>=9:
        c=c//10
        ans+=1
    ans+=1
    print(ans)

Python: import sys

num_of_data = 1
while True:
    if num_of_data > 200:
        break

    try:
        a, b = input().split()
         
    except EOFError:
        sys.exit()
        
    a = int(a)
    b = int(b)
    if a >= 0 and a <= 1000000000:
        if b >= 0 and b <= 1000000000:     
            num_of_data += 1
            sum = a+b
            cnt = 1
            while True:
                if sum < 10:
                    break
                sum /= 10
                cnt += 1
            print(cnt)

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

array = input().split()
a, b = int(array[0]), int(array[1])

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

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

Python: i = 0
while i < 200:
    sum = input()
    sum_list = sum.split(" ")
    print(len(str(int(sum_list[0]) + int(sum_list[1]))))
    i += 1

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

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

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

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

Python: import sys
for e in sys.stdin:
 print(len(str(eval('+'.join(e.split())))))

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

Python: import sys

if __name__ == '__main__':
    # ??????????????\?????¨???????????????
    for line in sys.stdin:
        a, b = line.strip().split(' ')
        c = int(a) + int(b)
        print(len(str(c)))

Python: def __main():

    a,b = input().split(" ")
    a = int(a)
    b = int(b)
    z = a + b
    print(len(str(z)))


__main()

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

Python: import sys

def solve():
    while True:
        try:
            a, b = map(int, sys.stdin.readline().split())
            c = a + b

            if c == 0:
                print(1)
            else:
                ans = 0

                while c > 0:
                    ans += 1
                    c //= 10

                print(ans)
                
        except EOFError:
            return

if __name__ == '__main__':
    solve()

Python: import sys

def solve():
    while True:
        try:
            a, b = map(int, sys.stdin.readline().split())
            c = a + b

            if c == 0:
                print(1)
            else:
                ans = 0

                while c > 0:
                    ans += 1
                    c //= 10

                print(ans)

        except:
            return

if __name__ == '__main__':
    solve()

Python: for x in range(200):
    print(len(str(sum(list(map(int, input().split()))))))

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


def main():
    inputs = []
    while 1:
        try:
            inputs.append(raw_input())
        except EOFError:
            break
    for line in inputs:
        print (lambda a, b: len(str(a + b)))(*line.split(" "))

if __name__ == '__main__':
    main()

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

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

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 = []
    ds_max = 200

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

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

        data_set.append(DataSet(a,b))

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

if __name__ == "__main__":
    main()

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

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

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

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

Python: import sys
import math

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

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

data = []
for i in sys.stdin:
    data.append(list(map(int, i.split())))

for j in range(len(data)):
    print(len(str(data[j][0] + data[j][1])))

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

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

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

Python: str = input()
l = []
while str != "0 0":
    l.append(str)
    str = input()

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    digitstr = "{0}".format(sum)
    print(len(digitstr))

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

import sys
import math

list = ["2","3"]
r = sys.stdin.readlines()

n = [[int(i) for i in (j.split())] for j in r]
#e = [[int(i) for i in input().split()] for i in range(n)] 

for j in n:
    a = sum(j)
    d = int(math.log10(a)) + 1
    print(d)

Python: try:
    while True:
        a, b = [int(x) for x in input().strip().split(' ')]
        print(len(list(str(a+b))))
except EOFError:
    pass

Python: while 1:
    try:
        x,y = map(int, input().split())
    except EOFError:
        break
    count = 0
    sum = x+y
    while sum > 0:
        sum = sum // 10
        count += 1
    print(count)

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

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