#include <iostream> using namespace std; int main(void) { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int a, b, c; cin >> a; for (int i = 0; i < a; i++) { cin >> b >> c; cout << b + c << "\n"; } return 0; }