include
include
using namespace std;
int main()
{
int n;
cin>>n;
while(n--)
{ int a,b;
cin>>a>>b;
cout<<a+b<<endl;
}
}
using namespace std;
int main()
{
int n;
cin>>n;
while(n--)
{ int a,b;
cin>>a>>b;
cout<<a+b<<endl;
}
}