#include <bits/stdc++.h>
using namespace std;
int main(){
	for(;;){
		int n,m;
		cin>>n>>m;
		cout<<n+m;
	}
	return 0;
}

/**************************************************************
	Problem: 1001
	User: zhouhongyi
	Language: C++
	Result: Output Limit Exceed
****************************************************************/