406566: GYM102441 H Not A + B

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

H. Not A + Btime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

You are required to print a value of $$$c$$$ which is not equal to the sum of two given numbers $$$a$$$ and $$$b$$$.

Input

First line contains an integer $$$t$$$ — number of tests. Next $$$t$$$ lines contain two integers $$$a$$$ and $$$b$$$ each. $$$$$$ 1 \le t \le 10^3 $$$$$$ $$$$$$ 1 \le a, b \le 50$$$$$$

Output

You are required to output an integer $$$c$$$ for each test in a separate line. If there are multiple solutions, you may output any of them. $$$$$$ 1 \le c \le 50 $$$$$$

ExampleInput
3
1 2
3 4
5 6
Output
12
34
42

加入题单

上一题 下一题 算法标签: