Go: package main

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

var (
	sc = bufio.NewScanner(os.Stdin)
)

func main() {
	for sc.Scan() {
		chunks := strings.Split(sc.Text(), " ")
		if len(chunks) != 2 {
			break
		}
		a, _ := strconv.Atoi(chunks[0])
		b, _ := strconv.Atoi(chunks[1])
		fmt.Println(a + b)
	}
}

C++: #include <iostream>
#include <sstream>
int main()
{
        for(uint8_t i=0;i<200;i++)
        {
                std::string str;
                getline(std::cin, str);
                if(str=="EOF")
                        break;
                std::stringstream s(str);
                uint32_t a,b;
                s>>a>>b;
                uint32_t sum=a+b;
                uint8_t count;
                for(count=0;sum>0;count++)
                        sum=sum/10;
                if(count==0)
                        count++;
                printf("%u\n",count);
        }

        return 0;
}

C++: #include <iostream>
#include <string>

using namespace std;

int main()
{
    string ans;
    int a, b;
    cin >> a >> b;

    cout << to_string(a + b).length() << endl;
}

C++: #include <iostream>
#include <cstdio>
using namespace std;

int main()
{
	int a,b;
	while(~scanf("%d%d",&a,&b))
	{
		int c;
		int i;
		c=a+b;
		while(c)
		{
			i++;
			c /=10;
		}
		cout<<i<<endl;
	
	}
	return 0;
}

C++: #include <cstdio>

using namespace std;

int main(){
	int a,b;
	int sum=0;
	int i;
	while(scanf("%d %d",&a,&b)!=EOF){
		sum=a+b;
		for(i=0;sum!=0;i++){
			sum/=10;
		}
		printf("%d\n",i);
		sum=0;
	}
	return 0;
}

C++: #include <stdio.h>
int main(void){
	int a,b;
	while(scanf("%d %d",&a,&b)!=EOF){
		int sum=a+b;
		int digit=1;
		while(1){
			if(sum/10>0){
				sum/=10;
				digit++;
			}else {
				break;
			}
		}
		printf("%d\n",digit);
	}
	return 0;
}

C++: #include<iostream>
using namespace std;

int main(){
     int a,b;
     while (!cin.eof()){
        cin>>a>>b;
        cout<<a+b<<endl;
     }
     return 0;
}

C++: #include <iostream>
#include<vector>
#include<stdlib.h>
#include<algorithm>
#include<string>
using namespace std;



int main(void){

	int a, b,sum=0,count;

	for (;cin;){//??°????????????????????°?????????
		count = 0;
		cin >> a >> b;
		sum = a + b;

		while(sum>9){
			
			sum /= 10;
			count++;

		} 
		//?????°???count?????°
		cout << count+1 << endl;

	}
	return 0;
}

C++: #include <stdio.h>

int main(void)
{
	int x=0,n,a,b;
	int sum[200]={0},keta[200]={0};

	while(scanf("%d %d",&a,&b)!=EOF)
	{
		sum[x]=a+b;
		x++;
	}

	for(n=0;n<x;n++)
	{
		while(sum[n]!=0)
		{
			sum[n]=sum[n]/10;
			keta[n]++;
		}
		printf("%d\n",keta[n]);
	}

	return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
  long long int a, b;
  while(cin >> a >> b) {
  long long int sum = a+b;
  //cout << sum << endl;
  

  int cnt = 1;
  while(sum /= 10) cnt++;

  cout << cnt << endl;
  }
}

C++: #include <algorithm>
#include <iostream>
#include <vector>

using namespace std;

typedef long long ll;
typedef pair<ll, ll> P;

#define MOD 1000000007
#define REP(i, N) for (int i = 0; i < N; ++i)
#define REP1(i, N) for (int i = 1; i <= N; ++i)
#define RREP(i, N) for (int i = N - 1; i >= 0; --i)
#define ALL(a) a.begin(), a.end()

int main() {
  int a, b;
  while (cin >> a >> b) {
    int sum = a + b;
    int ans = 0;
    while (0 < sum) {
      ans++;
      sum /= 10;
    }
    cout << ans << endl;
  }
  return 0;
}

C++: 
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>

using namespace std;

#define rep(i,n) for(int i = 0; i < n; i++)
#define REP(i,j,n) for(int i = j; i < n; i++)


int main(){

	int a,b;
	int sum = 0;
	cin >> a >> b;

	sum = a + b;

	int x = 1;

	while(sum / 10 > 0){
		x++;
		sum = sum / 10;
	}

	if(x != 0){
		cout << x << endl;
	}
	else{
		cout << 0 << endl;
	}
	return 0;
}

C++: #include<string>
#include<algorithm>
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
	int a,b;
	cin >> a>>b;
string  ss;
string ss="";
  ss << a+b;
   string x=ss.str();
cout<<x.size()<<endl;
return 0;
}

C++: #include <iostream>
#include <cmath>
using namespace std;
int main() {
  int a, b;
  while (cin >> a >> b) {
    cout << log10(a+b) << endl;
  }
  return 0;
}

C++: import java.util.*;

class Main{
public static void main(String[] args){
int a;
int b;
Scanner sc=new Scanner(System.in);
while(sc.hasNextInt()){
a=sc.nextInt();
b=sc.nextInt();
int d=(int)Math.log10(a+b);
System.out.println(d);
}
}
}

C++: 
#include <iostream>
#include <stdio.h>
#include <string>
#include <sstream>
#include <vector>
#include <stdlib.h>
#include <math.h>
#include <list>
#include <algorithm>

using namespace std;

int main(void){
	//FILE* fp_in = freopen("data.txt", "r", stdin);

	int a,b;
	while( scanf("%d%d",&a,&b) != -1 ) {
		stringstream s;
		s << (a+b);
		cout << s.str().length() << endl;
	}

	//while(1){}
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
using namespace std;
int main(){
	int a,b;
	while(scanf("%d %d",&a,&b) != EOF){
		int i = 0;
		a += b;
		while(a > 0){
			a /= 10;
            i++;
		}
		cout << i << endl;
	}
}

C++: #include<iostream>
using namespace std;

int main(){
	int a, b, sum, cou;
	
	while(cin >>a >>b && a != EOF && b != EOF){
		sum = a + b;
		cou = 0;
		while(sum != 0){
			sum = sum / 10;
			cou++;
		}
		cout <<cou<<endl;
	}
	
	return 0;
}

C++: #include<stdio.h>

int main(){
  int n = 2;
  while(n == 2){
  int a, b;
  char buf[20];
  fgets(buf, sizeof(buf), stdin);
  n = sscanf(buf, "%d%d", &a, &b);
  printf("%d\n", a+b);
  }
  //printf("\n");
  return 0;
}

C++: #include<iostream>
#include<string>
#include<cmath>
#include<algorithm>
using namespace std; 
int main(){
  int a,b;
  
  while(cin>>a>>b){

     cout<<(a+b)/10+1<<endl;
  }


  return 0;
}

C++: #include <iostream>
#include <cmath>
using namespace std;
 
int main()
{
    int a,b;
    while(cin >> a >> b)
        cout << log10(a+b) + 1; << '\n';
 
    return 0;
}

C++: #include <iostream>
#include <string>
#include <vector>
#include <sstream>
using namespace std;
int main()
{

	string str;
	do
	{

		string item;
		vector<string> list;
		getline(cin, str);


		stringstream ss(str);
		while (getline(ss, item, ' ') && !item.empty()) {
			list.push_back(item);
		}
		int sum = stoi(list[0].c_str()) + stoi(list[1].c_str());
		int count = 0;
		for (int i = 10; i <= 1000000; i = i * 10)
		{
			count++;
			if(sum < i)
			{
				cout << count << endl;
				break;
			}


		}
	} while (str != "");
	return 0;
}

C++: /* All men have limits. They learn what they are and learn
   not to exceed them, I ignore mine. -Batman           */

#include <iostream>
//#include	 <Windows.h>
using namespace std;

int x,y,z;
int main(){
	cin>>x>>y;
	z=x+y;
while(cin>>x>>y){
if (z>=0){
 if(z<10){
 	cout<<1<<endl;}
 else
  if(z<100){
  	cout<<2<<endl;}
  else
   if(z<1000){
   	cout<<3<<endl;}
   else
    if(z<10000){
    	cout<<4<<endl;}
    else
     if(z<100000){
     	cout<<5<<endl;}
     else
      if(z<1000000){
      	cout<<6<<endl;}
      else
        cout<<7<<endl;}}

return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;

int main(){
  int a, b;
  while(cin >> a >> b) {
    int sum, count;
    count = 0;
    sum = a + b;
    for(int i=sum;i>0;i = i/10){
      count++;
    }
    cout << count << endl;
  }
}

C++: #include <iostream>
using namespace std;

int main()
{
  int a,b;
  while(cin>>a>>b)
  {
	  a+=b;
	  int count = 0;
	  while(a!=0)
	  {
		  a /= 10;
		  count++;
	  }
	  cout<<count<<endl;
  } 
	return 0;
}

C++: #include<iostream>
#include<algorithm>
using namespace std;
int main(){
	int a,b;
	while(cin>>a>>b){
	int t=8700;
	for(int i=t;i;i--){
		for(int j=i;j;j--){
			if(i+j==2)a+=b;
		}
	}
	int cnt=0;
	while(a)a/=10,cnt++;
	cout<<cnt<<endl;
	}
	return 0;
}