# coding=utf-8
i = 1
while i != 0:
    a, b= map(int,input().split())
    print(a + b)
/**************************************************************
	Problem: 1001
	User: admin
	Language: Python
	Result: Accepted
	Time:108 ms
	Memory:34244 kb
****************************************************************/