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