#include "iostream"
using namespace std;

int main()
{
	unsigned int i=0,j[30],k[30];
	cin>>j[i]>>k[i];
	while(j[i]!=EOF && k[i]!=EOF)
	{
		i++;
		cin>>j[i]>>k[i];
	}
	for(i=0;i<30&&j[i]!=EOF&& k[i]!=EOF;i++)
		cout<<(j[i]+k[i])<<endl;
	return 0;
}