#define mytest //提交时去掉
#include <bits/stdc++.h>
using namespace std;
int main( )
{
#ifdef mytest
freopen("test.in","r",stdin);
freopen("test.out","w",stdout);
#endif
int a,b;
while(cin>>a>>b)
cout<<a+b<<endl;
#ifdef mytest
fclose(stdin);
fclose(stdout);
#endif
return 0;
}