#include <bits/stdc++.h>

using namespace std;

#ifndef EOLIMP
#define cin in
ifstream in("/home/lionell/Developing/acm/e-olymp/1000/in.txt");
#endif

int main() {
    ios_base::sync_with_stdio(false);
    int a = 0, b = 0;
    while (cin >> a >> b) {
        cout << a + b << endl;
    }
    return 0;
}