Score : 100 points
Problem Statement
You are given N pairs of integers: (A1,B1),(A2,B2),…,(AN,BN).
For each i=1,2,…,N, print Ai+Bi.
Constraints
- 1≤N≤1000
- −109≤Ai,Bi≤109
- All values in the input are integers.
The input is given from Standard Input in the following format:
N
A1 B1
A2 B2
⋮
AN BN
Output
Print N lines.
For i=1,2,…,N, the i-th line should contain Ai+Bi.
4
3 5
2 -6
-5 0
314159265 123456789
8
-4
-5
437616054
- The first line should contain A1+B1=3+5=8.
- The second line should contain A2+B2=2+(−6)=−4.
- The third line should contain A3+B3=(−5)+0=−5.
- The fourth line should contain A4+B4=314159265+123456789=437616054.