#include using namespace std; int main() { for (int a, b; cin >> a >> b;) { if (a == 0 and b == 0)break; cout << a + b << endl; } return 0; }