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