Problem:
National Budget

A country has a budget of more than 81 trillion yen. We want to process such data, but conventional integer type which uses signed 32 bit can represent up to 2,147,483,647.

Your task is to write a program which reads two integers (more than or equal to zero), and prints a sum of these integers.

If given integers or the sum have more than 80 digits, print "overflow".

Input

Input consists of several datasets. In the first line, the number of datasets N (1 ≤ N ≤ 50) is given. Each dataset consists of 2 lines:

The first integer
The second integer

The integer has at most 100 digits.

Output

For each dataset, print the sum of given integers in a line.

Sample Input

6
1000
800
9999999999999999999999999999999999999999
1
99999999999999999999999999999999999999999999999999999999999999999999999999999999
1
99999999999999999999999999999999999999999999999999999999999999999999999999999999
0
100000000000000000000000000000000000000000000000000000000000000000000000000000000
1
100000000000000000000000000000000000000000000000000000000000000000000000000000000
100000000000000000000000000000000000000000000000000000000000000000000000000000000

Output for the Sample Input

1800
10000000000000000000000000000000000000000
overflow
99999999999999999999999999999999999999999999999999999999999999999999999999999999
overflow
overflow

Solution in C (judge verdict: Time Limit Exceeded)

#include<stdio.h>
#include<stdlib.h>
#include<string.h>



/*
char=0 → int=48

char=9 → int=57

*/

int main(void){
	int i,l,j,n,s,t,f,z;
	char a[90],b[90],ac[90],bc[90],k,ans[90],ansc[90];
	
	scanf("%d",&n);
	
	for(;n>0;n--){
		scanf("%s",a);
		scanf("%s",b);
		
		//80を超える場合はoverfllow(以上と超えたの２パターン)
		if(strlen(a)>80 || strlen(b)>80){
			printf("overflow\n");
			continue;
		}
		
		//文字列a,bを反転させac,bcに代入
		/*
		s=strlen(a);
		for(i=0;i<s;i++){
			ac[i]=a[s-i-1];
		}
		ac[s]=a[s];
		
		s=strlen(b);
		for(i=0;i<s;i++){
			bc[i]=b[s-i-1];
		}
		bc[s]=b[s];
		*/
		
		s=(int)strlen(a);
		if(s<(int)strlen(b))s=(int)strlen(b);
		
		for(i=0,f=0;i<s;i++){
			
			/*
			片方のけたを超えたら、繰り上がりと残りのけたの足し算
			それまではa,b繰り上がりの三つの足し算
			*/
			if((int)strlen(a)<=i){
				ansc[i]=b[strlen(b)-i-1]+f;
				z=1;
			}
			else if((int)strlen(b)<=i){
				ansc[i]=a[strlen(a)-i-1]+f;
				z=2;
			}
			else{
				ansc[i]=a[strlen(a)-i-1]+b[strlen(b)-i-1]+f-48;
				z=3;
			}
			
			
			/*
			繰り上がり判定
			char=9であるint=57を超えていたらf=1,char-10
			elseならばf=0
			*/
			
			if(ansc[i]>57){
				f=1;
				ansc[i]-=10;
			}
			else{
				f=0;
			}
			
			
			//test
			//printf("ansc=(%c,%d),f=%d,z=%d\n",ansc[i],ansc[i],f,z);
			
			
		}
		//最後の繰り上がりの処理
		if(f==1){
			ansc[i]=49;
			i++;
			//test
			//printf("f up,i=%d,ansc=%c\n",i,ansc[i]);
		}
		
		//anscの最後にEOFを付与
		ansc[i]=a[strlen(a)];
		
		//test
		//printf("i=%d,ansc=%c\n",i,ansc[i]);
		
		//80を超える場合はoverfllow(以上と超えたの２パターン)
		if((int)strlen(ansc)>80){
			printf("overflow\n");
			continue;
		}
		
		/*
		//anscを逆転
		for(i=0;i<(int)strlen(ansc);i++){
			ans[i]=ansc[strlen(ansc)-i-1];
		}
		ans[i]=ansc[strlen(ansc)];
		
		printf("%s\n",ans);
		*/
		
		for(i=0;i<(int)strlen(ansc);i++){
			printf("%c",ansc[(int)strlen(ansc)-i-1]);
		}
		printf("\n");
		
		
		//test
		/*
		for(i=0;i<(int)strlen(ans);i++){
			printf("i=%d,ans=%c,ansc=%c\n",i,ans[i],ansc[i]);
		}
		*/
		
		}
		
		return 0;
		}