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