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: Wrong Answer)

using System;

public class Hello
{
    public const int KMAX = 80;
    public static void Main()
    {
        
        var n = int.Parse(Console.ReadLine().Trim());
        for (int i = 0; i < n; i++)
        {
            var a = Console.ReadLine().Trim();
            if (a.Length >= KMAX+1) { Console.WriteLine("overflow"); goto next; }
            var b = Console.ReadLine().Trim();
            if (b.Length >= KMAX + 1) { Console.WriteLine("overflow"); goto next; }
            var a2 = new int[KMAX + 1];
            var b2 = new int[KMAX + 1];
            setArray(a2, a);
            setArray(b2, b);
            var ret = new int[KMAX + 1];
            getAnswer(a2, b2, ret);
            if (ret[0] == 1) { Console.WriteLine("overflow"); goto next; }
            Console.WriteLine(getS(ret));
            next:;
        }
    }
    public static string getS (int[] a )
    {
        var ret = "";
        var noget = true;
        for (int i = 0; i < KMAX + 1; i++)
        {
            if (a[i] == 0)
            {
                if (!noget) ret += "0";
            }
            else
            {
                ret += a[i].ToString();
                if (noget) noget = false;
            }
        }
        if (ret == "") return "0";
        else return ret;
    }
    public static void getAnswer (int[] a, int[] b , int[] w)
    {
        for (int i = 0; i < KMAX; i++)
        {
            var t = a[i] + b[i] + w[i];
            w[i] = t % 10;
            w[i + 1] =t / 10;
        }
        Array.Reverse(w);
    }
    public static void setArray (int[] a , string s)
    {
        var sL = s.Length;
        var d = KMAX + 1 - sL;
        for (int i = 0; i < sL; i++)
            a[i + d] = int.Parse(s[i].ToString());
        Array.Reverse(a);
    }
}