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