import sys

for line in sys.stdin.readlines():

	data=line.split()

	print((int(data[0])+int(data[1])))

	#print(eval(data[0]+"+"+data[1]))
while True:

	try:

		x,y=list(map(int,input().split()))

		print((x+y))

	except EOFError:

		break
import sys

for line in sys.stdin.readlines():
    data = line.split()
    print((int(data[0]) + int(data[1])))
    # print(eval(data[0]+"+"+data[1]))

while True:
    try:
        x, y = list(map(int, input().split()))
        print((x + y))
    except EOFError:
        break

-import sys - -for line in sys.stdin.readlines(): -    data = line.split() -    print((int(data[0]) + int(data[1]))) -    # print(eval(data[0]+"+"+data[1])) +while True: +    try: +        x, y = list(map(int, input().split())) +        print((x + y)) +    except EOFError: +        break