Sum of large numbers
Submissions: 1288   Accuracy:

27.75%

  Difficulty: Basic   Marks: 1

A pair of two very large positive integers is given. The task is to print their sum.

Input:
The first line of input contains a single integer T denoting the number of test cases. Then T test cases follow. Each test case consists of two lines. In the first line is the first number A and in the second is the second number B.

Output:
Corresponding to each test case, print the sum of A and B in a new line.

Constraints:
1 ≤ T ≤ 100
1 ≤ A,B ≤ 101002

Example:

Input
2
63457
645
9999788586376
123456789
Output
64102
9999912043165

** For More Input/Output Examples Use 'Expected Output' option **

Author: Hemang Sarkar


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.