Shivam is the youngest programmer in the world, he is just 12 years old. Shivam is learning programming and today he is writing his first program. 

Program is very simple, Given two integers A and B, write a program to add these two numbers.

-----Input-----

The first line contains an integer T, the total number of test cases. Then follow T lines, each line contains two Integers A and B. 

-----Output-----
For each test case, add A and B and display it in a new line.

-----Constraints-----
- 1 ≤ T ≤ 1000
- 0 ≤ A,B ≤ 10000

-----Example-----
Input
3 
1 2
100 200
10 40

Output
3
300
50

Source: codechef | Difficulty: EASY
Tags: Implementation


Solutions:
T = int(input())
for tc in range(T):
	(a, b) = list(map(int, input().split(' ')))
	ans = a + b
	print(ans)


T = int(input())
for i in range(T):
	(a, b) = map(int, input().split(' '))
	ans = a + b
	print(ans)


try:
	n = int(input())
	for i in range(n):
		(x, y) = [int(x) for x in input().split()]
		t = x + y
		print(t)
except:
	pass


a = int(input())
for i in range(a):
	(x, y) = map(int, input().split())
	print(x + y)


TC = int(input())
for T in range(TC):
	(x, y) = map(int, input().split())
	ans = x + y
	print(ans)


T = int(input())
for i in range(T):
	(a, b) = list(map(int, input().split()))
	c = a + b
	print(c)


L = []
l = []
x = int(input())
for i in range(x):
	y = input()
	z = y.split()
	a = z[0]
	b = z[1]
	L.append(a)
	l.append(b)
for j in range(x):
	c = int(L[j]) + int(l[j])
	print(c)


t = input()
sum = []
for i in range(0, int(t)):
	(a, b) = input().split()
	c = int(a) + int(b)
	sum.append(c)
for i in sum:
	print(i)


t = int(input())
for tc in range(t):
	(x, y) = map(int, input().split())
	a = x + y
	print(a)


try:
	for tc in range(int(input())):
		(a, b) = list(map(int, input().split(' ')))
		print(a + b)
except:
	pass


T = int(input())
while T > 0:
	(A, B) = map(int, input().split())
	ans = A + B
	print(ans)
	T = T - 1


n = int(input())
for i in range(n):
	(x, y) = [int(x) for x in input().split()]
	t = x + y
	print(t)


for t in range(int(input())):
	(a, b) = map(int, input().split())
	print(a + b)


T = int(input())
for i in range(T):
	(A, B) = map(int, input().split())
	sum = A + B
	print(sum)


k = int(input())
for tc in range(k):
	(a, b) = map(int, input().split(' '))
	ans = a + b
	print(ans)


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	print(x + y)


try:
	T = int(input())
	for tc in range(T):
		(a, b) = list(map(int, input().split(' ')))
		ans = a + b
		print(ans)
except:
	print('s')


t = int(input())
for _ in range(t):
	(x, y) = map(int, input().split())
	print(x + y)


for i in [*open(0)][1:]:
	(a, b) = map(int, i.split())
	print(a + b)


a = int(input(''))
A = []
for m in range(a):
	(x, y) = [int(x) for x in input('').split()]
	B = [x, y]
	A.append(B)
for m in range(a):
	print(A[m][0] + A[m][1])