<reponame>devAdhiraj/coding-problems<filename>Other/aplusb.py
n = int(input())
for i in range(n):
    a,b = input().split()
    print(int(a) + int(b))
n = int(input())
for i in range(n):
    a,b = input().split()
    print(int(a) + int(b))