#include<iostream>
using namespace std;
int main()
{
int n,m,s;
while(cin>>n>>m)
{
s=n+m;
cout<<s<<endl;
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int n,m,s;
while(cin>>n>>m)
{
s=n+m;
cout<<s<<endl;
}
return 0;
}