#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,m;
	while(cin>>n>>m){
		cout<<n+m<<endl;
	}
}
/**************************************************************
	Problem: 1001
	User: zhangziang
	Language: C++
	Result: Accepted
	Time:11 ms
	Memory:2072 kb
****************************************************************/