https://www.acmicpc.net/problem/10952
#include <iostream> using namespace std; int main() { int a,b; for(int i=0;;i++){ cin>>a>>b; if(a==0 && b==0) break; cout<<a+b<<"\n"; } }