while True:
try:
n1 = int(input())
n2 = int(input())
except EOFError:
break
print(str(n1+n2))
while True:
try:
n1 = int(input())
n2 = int(input())
except EOFError:
break
print(str(n1+n2))