#include <iostream>
#include <vector>
using namespace std;
int A, B;
vector<int> answer;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
for (;;)
{
cin >> A >> B;
if (A == 0 && B == 0)
{
break;
}
else
{
answer.push_back(A + B);
}
}
for (int i = 0; i < answer.size(); i++)
{
cout << answer[i] << "\n";
}
return 0;
}
수학 관련 쉬운 문제였다.
Baekjoon_Link 👈 Click here