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