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<string.h>
#define MAX 82
#define N (MAX-1)/4+1
void ladd(short a[],short b[],short c[]){
	short i,cy=0;
	for(i=N-1;i>=0;i--){
		c[i]=a[i]+b[i]+cy;
		if(c[i]<10000)
			cy=0;
		else {
			c[i]=c[i]-10000;
			cy=1;
		}
	}
}
int main(){
	int n,h1,h2;
	int i,j,l,f;
	char buf1[100],buf2[100];
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%s",buf1);
		h1=strlen(buf1);
		scanf("%s",buf2);
		h2=strlen(buf2);
		if(h1>80||h2>80)printf("overflow\n");
		else {
			int x;
			int k1,k2;
			short d1[N]={0};
			short d2[N]={0};
			for(k1=h1-1,k2=h2-1,j=N-1;j>=0;j--){
				for(l=0,x=1;l<4;l++,x*=10){
					if(k1>=0)d1[j]+=(buf1[k1--]-'0')*x;
					if(k2>=0)d2[j]+=(buf2[k2--]-'0')*x;
				}
			}
			short d3[(80-1/4+1)]={0};
			ladd(d1,d2,d3);
			f=0;
			if(d3[0]>0||d3[1]>=1000);
			else{
				for(j=0;j<N;j++){
					if(f){
						printf("%04d",d3[j]);
					}
					else if(d3[j]>0){
						printf("%d",d3[j]);
						f=1;
					}
				}
				printf("\n");
			}
		}
	}
	return 0;
}