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