BETA
School Problem's Submission isn't counted in score!

Submissions: 1603 Accuracy:

47.1%

12 hour clock addition
     

Given two positive integers num1 and num2, the task is to find the sum of the two numbers on a 12 hour clock rather than a number line.

Input
First line of the input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case consists of a single line containing two integers seperated by a space .


Output
Corresponding to each test case, print the sum in a new line.


Constraints:

1<=T<=100
0<=num1<=50
0<=num2<=50

 

Example:

Input:
2
7 5
3 5

Output
0
8

 

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

Contributor: Aditya Garg

Set Default Code

					   
It is recommended to 'Compile & Test' your code before clicking 'Submit'!

Compilation/Execution Result:

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