#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("e:\\input.txt","r",stdin);
freopen("e:\\output.txt","w",stdout);
int a,b;
while(cin>>a>>b)
cout<<a+b<<endl;
return 0;
}
using namespace std;
int main()
{
freopen("e:\\input.txt","r",stdin);
freopen("e:\\output.txt","w",stdout);
int a,b;
while(cin>>a>>b)
cout<<a+b<<endl;
return 0;
}