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

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