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

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

Solution (Python):
while True:
    try:
        list1 = [int(i) for i in input().split()]
        print(len(str(list1[0] + list1[1])))
    except:
        break;

Solution (Python):
def keta(num):
    counter = 0
    while(1):
        num = num/10
        counter += 1
        if(num<1):
            break
    return counter
    
while(1):
    try:
        a,b = map(int, input().split())
        num=a+b
        print(keta(num))
    except:
        break

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

Solution (Python):
ans = []
while True :
    try :
        s = input()
        a, b = map(int, s.split())
        ans.append(len(str(a + b)))
    except :
        for a in ans :
            print(a)
        break

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

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

Solution (Python):
from math import log10, ceil
while True:
 try:
  a=[int(item) for item in input().split()]
  b=a[0]+a[1]
  print(len(str(b)))
 except EOFError:break

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

Solution (Python):
while True:
    try:
        x, y = map(int, input().split());
        print (len(str(x + y)))
    except:
        break

Solution (Python):
sss = input().split()
while sss:
    a,b = int(sss[0]), int(sss[1])
    ab = a + b
    c = 1
    while ab // 10 > 0:
        c += 1
        ab //= 10
    print(c)
    try: sss = input().split()
    except EOFError: break

Solution (Python):
output = []
while True:
    try :
        a,b = map(int, input().split())
    except :
        break
    output.append(len(str(a+b)))
for x in range(len(output)):
    print(output[x])

Solution (Python):
import math

while True:
	try:
		data = map(int, raw_input().split())
		[a, b] = data
		print int(math.log10(a+b)+1)
	except (EOFError):
		break