Go: package main

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

func main() {
        sc := bufio.NewScanner(os.Stdin)

        for sc.Scan() {
                digits := 0
                num := 0
                for _, s := range strings.Fields(sc.Text()) {
                        i, _ := strconv.Atoi(s)
                        num += i
                }
                for num > 0 {
                        digits += 1
                        num /= 10
                }
                fmt.Printf("%d\n", 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: import sys

d = sys.stdin.readlines()
for i in d:
    a, b = [int(x) for x in i.split()]
    print(len(str(a + b)))

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

Python: l = list(map(int, input().split()))

while(l != []):
    try:
        length = len(str(l[0]+l[1]))
        print(length)
        l = list(map(int, input().split()))
    except:
        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: from math import log10 as log
from sys import stdin
A = []
for po in stdin:
    S = list(map(int,po.split()))
    A.append(int(log(S[0]+S[1])+1))
for i in A:
    print(i)

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

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

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

    except:
        break

Python: from __future__ import absolute_import, print_function, unicode_literals
import sys

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

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

import sys

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

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

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

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

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

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

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

def get_input():
    
    while True:
        try:
            yield "".join(input())
        except EOFError:
            break
                     
if __name__=="__main__":
    array = list(get_input())
    for i in range(len(array)):
        
        temp = array[i].split()
        
        a = int(temp[0])
        b = int(temp[1])
                        
        ans = a + b
        
        print(len(str(ans)))

Python: l = list(map(int, input().split()))

while(l != []):
    length = len(str(l[0]+l[1]))
    print(length)
    l = list(map(int, input().split()))

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

Python: def main():
    def inputs():
        li = []
        string = input()
        count = 0
        while count < 201 and string != "":
            li.append(string)
            string = input()
            count += 1
        return li

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

if __name__ == '__main__':
    main()

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

Python: import sys
array = []
for inp in sys.stdin.readlines():
    array.append(inp.split())
for i in range(len(array)):
    a =int(array[i][0]) + int(array[i][1])
    print(len(str(a)))

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

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

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

Python: ans = []

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

    s = str(a + b)
    cnt = len(s)
    ans.append(cnt)

for a in ans:
    print(a)

Python: import math
x = map(int,raw_input().split(' '))
a = math.log10(x[0] + x[1])
print(int(a)+int(1))

Python: #Digit Number

while True:
    try:
        i, n = input(). split()
        m = str(int(i) + int(n))
        print(len(m))
    except:
        break

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

Python: while True:
    inNums = input().strip().split()
    a = int(inNums[0])
    b = int(inNums[1])
    temp = a+b
    x = 0
    digitNum = 0
    while temp // 10**x > 0:
        digitNum = x
        print(x)
    
    if inNums == None:
        break
    break

Python: import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for x in ab:
    a, b = x[0], x[1]
    add_ans = int(a + b)
    print(len(str(add_ans)))

Python: import sys

for line in sys.stdin:
    l = line.replace('\n', '')
    a, b = l.split()
    a = int(a)
    b = int(b)
    print(len(str(a+b)))

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

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

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)

Python: import math
while True:
	a, b = map(int, input().split())
	if(a==0 and b==0):
		break
	print(int(math.log10(a + b)) + 1)

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

Python: while True:
    try:
        print(len(str(sum(list(map(int, input().split()))))))
    except:
        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

    for i in data:
        print(i)

if __name__ == "__main__":
    main()

Python: def digits(n):
    if n < 10: return 1
    c = 0
    while n > 0:
        c += 1
        n = n // 10

    return c

while 1:
    try:
        inp = input()
    except EOFError:
        break
    else:
        n, m = inp.split(' ')
        n = int(n)
        m = int(m)
        print(digits(n + m))

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

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