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: 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)))

Python: def main():
    def inputs():
        li = []
        count = 0
        try:
            while count < 200:
                li.append(input())
                count += 1
        except EOFError:
            return li
        return li

    li = inputs()
    for x in li:
        a = x.split(" ")
        result = len(str(int(a[0]) + int(a[1])))
        print(result)
    return None

if __name__ == '__main__':
    main()

Python: [print(len(str(i)))for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]]

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

Python: while True:
    Str = input()
    if Str =="EOF":
        break
    a,b = map(int, Str.split())
    #print(a,b)
    print(len(str(a+b)))

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

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

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

Python: # coding: utf-8

import sys

def digit_check(n):
    i = 10
    digit = 1
    
    while int(n/i) != 0:
        i *= 10
        digit += 1

    return digit
        
def main():
    for line in sys.stdin:
        ls = list(map(int, line.split(' ')))
        print(digit_check(ls[0]+ls[1]))

if __name__ == '__main__':
    main()

Python: import sys

for line in sys.stdin:
    datas =line.split()
    if (len(datas)):
        v = int(datas[0]) + int(datas[1])
        print(len(str(v)))
    else:
        break

Python: import sys
while 1:
    a, b = map(int, sys.stdin.readline().split())
    c = a + b
    c = str(c)
    print(len(c))

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

Python: a=int(input())
b=int(input())
c=a+b
print(len(str(c)))

Python: import sys,math
for x,y in (line.split() for line in sys.stdin):print(int(math.log10(int(x)+int(y))+1))

Python: #!/usr/bin/python3
import sys

def Dnum():
    
    str = " "
    while(str != '\n'):
        str = sys.stdin.readline()
        cnt = 0
        list = str.split(" ")
        num = int(list[0])+int(list[1])
        while(num >= 1):
            cnt=cnt+1
            num = num/10
        print(cnt)

Dnum()

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(str(ans))