#this code adds two numbers in input. numb = int(input()) for n in range(numb): a = int(input()) b = int(input()) print(a+b)