Problem:


Digit Number

Write a program which computes the digit number of sum of two integers a and b.

Input

There are several test cases. Each test case consists of two non-negative integers a and b which are separeted by a space in a line. The input terminates with EOF.

Constraints

0 ≤ a, b ≤ 1,000,000

The number of datasets ≤ 200

Output

Print the number of digits of a + b for each data set.

Sample Input

5 7
1 99
1000 999

Output for the Sample Input

2
3
4



Sample input:
5 7
1 99
1000 999


Sample output:
2
3
4

Submission status: Runtime Error

Solution code:
if __name__ == '__main__':

    nums = []

    for line in sys.stdin:
        if line == "\n":
            break
        else :
            nums.append([int(item) for item in line.split(" ")])

    for n in nums:
        sum = n[0] + n[1]
        print(len(str(sum)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while True:
	input = raw_input()
	splited = input.split()
	num = int(splited[0])+int(splited[1])
	print len(str(num))

Submission status: Runtime Error

Solution code:
while True:
	try:
		input = raw_input()
		splited = input.split()
		num = int(splited[0])+int(splited[1])
		print len(str(num))
	except EOFerror:
		break

Submission status: Runtime Error

Solution code:
while True:
	try:
		splited = raw_input().split()
		num = int(splited[0])+int(splited[1])
		print len(str(num))
	except EOFerror:
		break

Submission status: Runtime Error

Solution code:
while True:
	try:
		a,b = map(int raw_input().split())
		print len(str(a+b))
	except EOFerror:
		break

Submission status: Runtime Error

Solution code:
while True:
	try:
		a,b = map(int, raw_input().split())
		print len(str(a+b))
	except EOFerror:
		break

Submission status: Runtime Error

Solution code:
while True:
	try:
		a,b = map(int, raw_input().split())
		print int(len(str(a+b)))
	except EOFerror:
		break

Submission status: Runtime Error

Solution code:
# coding: utf-8
import fileinput
import math

reslt = []

for line in fileinput.input():
        tokens = list(map(int, line.strip().split()))
        wa = tokens[0], tokens[1]
        keta = int(math.log10(wa) + 1)
        result.append(keta)

for i in range(len(result)):
    print[i]

Submission status: Runtime Error

Solution code:
import sys

def keta(x):
    return len(str(x))

while True:
    t=input()
    if t=="":
        sys.exit()
    a,b=[int(i) for i in t.split(" ")]
    print(keta(a+b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
import sys

while True:
    print(len(str(abs(sum(map(int, sys.stdin.readline().rstrip().split(' ')))))))

Submission status: Runtime Error

Solution code:
judge = True
while judge:
    a,b = map(int, input().split(" "))
    if a == None:
        judge = False
    else:
        c = a+b
        print(len(str(c)))

Submission status: Runtime Error

Solution code:
judge = True
while judge:
    a,b = map(int, input().split(" "))
    if a != None:
        c = a+b
        print(len(str(c)))
    else:
        judge = False

Submission status: Runtime Error

Solution code:
for var in range(1,2001):
    a,b=map(int,input().split())
    c=a+b
    c=str(c)
    print(len(c))

Submission status: Runtime Error

Solution code:
import math
for _ in range(200):
    a, b = list(map(int, input().split()))
    add_ans = a + b
    print(int(math.log10(add_ans)) + 1)

Submission status: Runtime Error

Solution code:
while True:
 a,b=map(int,input().split())
 digit=(a+b)
 digit2=str(digit)
 print(len(digit2))

Submission status: Runtime Error

Solution code:
while True:
 a,b=map(int,input().split())
 digit=(a+b)
 digit2=str(digit)
 print(len(digit2))
print()

Submission status: Runtime Error

Solution code:
while True:
 a,b=map(int,input().split())
 digit=(a+b)
 digit2=str(digit)
 print(len(digit2))
print('')

Submission status: Runtime Error

Solution code:
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]))

Submission status: Runtime Error

Solution code:
l = []

for i in range(200):
	a,b = map(str,input().split(' '))
	if a == 'EOF':
		break
	else:
		c = int(a)
		d = int(b)
		e = c + d

		l.append(e)
		
		a = 0
		b = 0
		c = 0
		d = 0
		e = 0

n = 0

for i in range(len(l)):
	print(len(l[n]))

Submission status: Runtime Error

Solution code:
from sys import stdin
import math

lines = [line for line in stdin]

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import 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)

Submission status: Runtime Error

Solution code:
#import 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)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
a = [print(len(sum(map(int, line.split())))) for line in sys.stdin]

Submission status: Runtime Error

Solution code:
while(True):
    x,y=input().split()
    if x=="EOFError":
        break
    k=int(x)+int(y)
    print(len(str(k)))

Submission status: Runtime Error

Solution code:
try:
    while(True):
        x,y=input().split()
        except EOFError: 
            pass
        k=int(x)+int(y)
        print(len(str(k)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
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

Submission status: Runtime Error

Solution code:
if __name__ == "__main__":
    for i in range(200):
        a,b = list(map(int,input().strip().split()))
        print(len(str(a+b)))

Submission status: Runtime Error

Solution code:
while(1):
    a,b=input().strip().split()
    if a<0 or b<0:
        break
    a=int(a)
    b=int(b)
    sum = a+b
    sum = str(sum)
    print(len(sum))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		n = int(input().rstrip().split(??? ???))
	except:
		break
	else:
		print(math.log10(int(n[0]) + int(n[1])) + 1)

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		n = int(input().rstrip.split(??? ???))
	except:
		break
	else:
		print(math.log10(int(n[0]) + int(n[1])) + 1)

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		n = int(input().rstrip().split(??? ???))
	except:
		break
	else:

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		n = int(input().rstrip().split(??? ???))
	except:
		break
	else:
		print("a")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		x,y=[int(i) for i in input().split()]
	except:
		break
	else:
		print(math.log10(x + y) + 1)

Submission status: Runtime Error

Solution code:
import math

		x,y=[int(i) for i in input().split()]

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		x,y=[int(i) for i in input().split()]
	except:
		break
	else:
		a = int (math.log10(x + y) + 1)
		print(a)

Submission status: Runtime Error

Solution code:
import math
while t == 0:	
	try:
		x,y=[int(i) for i in input().split()]
	except:
		break
	else:
		print("s")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

DEBUG = 0

if DEBUG==0:
	a = []
	for i in range(200):
		deglist=[int(x) for x in input().split(" ")]
		a.append(int_deglist)
else:
	a = [[5,7],[1,99],[1000,999]]

import math

for i in range(len(a)):
	wa = a[i][0] + a[i][1]
	keta = int(math.log(wa, 10)) + 1
	print keta

Submission status: Runtime Error

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

DEBUG = 0

if DEBUG == 0:
	a = []
	for i in range(200):
		deglist=[int(x) for x in input().split(" ")]
		a.append(int_deglist)
else:
	a = [[5,7],[1,99],[1000,999]]

for i in range(len(a)):
	wa = a[i][0] + a[i][1]
	print len(str(wa))

Submission status: Runtime Error

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

DEBUG = 0

if DEBUG == 0:
	a = []
	for i in range(200):
		deglist=[int(x) for x in input().split(" ")]
		a.append(deglist)
else:
	a = [[5,7],[1,99],[1000,999]]

for i in range(len(a)):
	wa = a[i][0] + a[i][1]
	print len(str(wa))

"""
while True:
	try:
		deglist = [int(x) for x in input().split(" ")]
	except EOFError:
		break

"""

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from math import log10 as log
A = []
while True:
    S =list(map(int,input().split()))
    try:
        A.append(int(log(S[0]+S[1])+1))
    except IndexError:
        break
for i in A:
    print(i)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def inp():
    try:
        while True:
            data=raw_input()
            if not data: break
            yield data
    except KeyboardInterrupt:
        return
A = [map(int, i.split()) for i in list(inp())]
for i in A:
    print len(str(i[0]*i[1]))

Submission status: Runtime Error

Solution code:
def inp():
    while True:
        data=raw_input()
        if not data: break
        yield data
A = [map(int, i.split()) for i in list(inp())]
for i in A:
    print len(str(i[0]*i[1]))

Submission status: Runtime Error

Solution code:
A = [map(int, i.split()) for i in list(iter(raw_input, ''))]
for i in A:
    print len(str(i[0]*i[1]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
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, 200):
        n = input().split()

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

        data_set.append(DataSet(a,b))

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

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
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 i in range(0, 199):
        ans = data_set[i].add_size()
        print(ans)

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
import math

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

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
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:
            break

        for i in data:
            print(i)

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
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()

Submission status: Runtime Error

Solution code:
while 1:
    line=raw_input()
    if line == 'END_OF_TEXT': break
    a, b = (int(i) for i in line.split())
    print len(str(a+b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

for n in res:
    print(len(str(n))+1)

Submission status: Runtime Error

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

for n in res:
    print(len(str(n)))

Submission status: Runtime Error

Solution code:
res=[]

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

for n in res:
    print(len(str(n)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
import math

for line in sys.stdin:
  a, b = [int(i) for i in line.split()]
  print(int(math.log10(a * b) + 1))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N, M = map(int, raw_input().split())
a = []
for i in range(M):
    a.append(map(int, raw_input().split()))
    print len(N + M)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while True:
    a = int(input())
    b = int(input())
    print(len(str(a + b)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while (True):
    b = list(map(int, input().split(" ")))
    print(b)
    if(b == ['']): break
    c = 1
    d = b[0] + b[1]
    while(d >= 10):
        c += 1
        d = d / 10
    print(c)

Submission status: Runtime Error

Solution code:
#a = []
while (True):
    b = list(map(int, input().split(" ")))
    #print(b)
    if(b == ['']): break
    #a.append(b)
    c = 1
    d = b[0] + b[1]
    while(d >= 10):
        c += 1
        d = d / 10
    print(c)

Submission status: Runtime Error

Solution code:
while True:
    a = int(input())
    b = int(input())
    print(len(str(a + b)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
l = list(map(int, input().split()))
a = []
while(l != None):
    length =len(str(l[0]+l[1]))
    a.append(length)
    l = list(map(int, input().split()))

for i in range(len(a)):
    print(a[i])

Submission status: Runtime Error

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

for i in range(len(a)):
    print(a[i])

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:

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

Submission status: Runtime Error

Solution code:
A = []
B = []
s = True
while(s):
    try:
        a,b = map(int, input().split())
    except ValueError:
        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))

Submission status: Runtime Error

Solution code:
while True:
    a, b = map(int, input().rstrip().split())
    print(len(str(a + b)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#coding:UTF-8

a=int(input())
b=int(input())

a+=b;
b=1
for num in range(1,8):
    b*=10
    if a<b:
        print(num)
        break

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = a+b
d = 1
while(int(c/10) != 0):
	d += 1
	c /= 10
print(d)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = a+b
d = 1
while(int(c/10) != 0):
	d += 1
	c = int(c/10)
print(d)

Submission status: Runtime Error

Solution code:
while(true)
	a = input()
	if a==EOF:
		break
	b = input()
	c = int(a)+int(b)
	d = 1
	while(int(c/10) != 0):
		d += 1
		c = int(c/10)
	print(d)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
	a = input()
	b = input()
	c = int(a)+int(b)
	d = 1
	while(int(c/10) != 0):
		d += 1
		c = int(c/10)
	print(d)

Submission status: Runtime Error

Solution code:
while True:
    a,b = map(int, input().split())
    d = 0
    s = sum([a,b])
    while (s):
        s //= 10
        d += 1
    print(d)

Submission status: Runtime Error

Solution code:
while a, b = (int(x) for x in input().split()):
    print(a + b)

Submission status: Runtime Error

Solution code:
import sys
print "\n".join([len(str(sum([int(x) for x in l.split(' ')]))) for l in open(sys.stdin)])

Submission status: Runtime Error

Solution code:
import sys
print "\n".join([len(str(sum([int(x) for x in l.split(' ')]))) for l in sys.stdin])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
height = []
while 1:
    try:
        height.append(input())
    except EOFError:
        break
height.sort(reverse=True)
for i in range(3):
    print height[i]

Submission status: Runtime Error

Solution code:


while True:
    try:
        nums = map(int, raw_input().split(' '))
        
        ans = nums[0]+nums[1]
        
        x = 0
        while True:
            if (10**x -1) < ans < 10**(x+1):
                print x+1
                break
            else:
                x = x+1
    except EOFerror:
        break

Submission status: Runtime Error

Solution code:
a=input()
b=input()

def digit_num(a):
    def digit_num_sub(a,n):
        if a/(10**n)<10:
            return n+1
        else:
            return digit_num_sub(a,n+1)
    return digit_num_sub(a,0)

print digit_num(a+b)

Submission status: Runtime Error

Solution code:
a,b=input(),input()

def digit_num(a):
    def digit_num_sub(a,n):
        if a/(10**n)<10:
            return n+1
        else:
            return digit_num_sub(a,n+1)
    return digit_num_sub(a,0)

print digit_num(a+b)

Submission status: Runtime Error

Solution code:
while True:
	try: a,b = map(int,input().split()) ; print len(a+b)
 	excpet EOFError: break

Submission status: Runtime Error

Solution code:
while True:
	try: a,b = map(int,raw_input().split()) ;print len(a+b)
 	except EOFError: break

Submission status: Runtime Error

Solution code:
whlie True:
    a, b = row_input().strip().split(" ")
    print len(str(int(a) + int(b))))

Submission status: Runtime Error

Solution code:
whlie True:
    a, b = raw_input().strip().split(" ")
    print len(str(int(a) + int(b))))

Submission status: Runtime Error

Solution code:
while True:
    a, b = raw_input().strip().split(" ")
    print len(str(int(a) + int(b))))