CF1351A.A+B (Trial Problem)

传统题 时间 2000 ms 内存 256 MiB 3 尝试 1 已通过 1 标签

A+B (Trial Problem)

You are given two integers aa and bb. Print a+ba+b.

Input

The first line contains an integer tt (1t1041 \le t \le 10^4) — the number of test cases in the input. Then tt test cases follow.

Each test case is given as a line of two integers aa and bb (1000a,b1000-1000 \le a, b \le 1000).

Output

Print tt integers — the required numbers a+ba+b.

Samples

4
1 5
314 15
-99 99
123 987
6
329
0
1110

在线编程 IDE

建议全屏模式获得最佳体验