Your task is to calculate a + b.
Input
Comprising a plurality of sets of input data. Each set of data includes an integer and a and b are on one line. Contains data indicates that the input end 00, and does not process the set of data.
Output
For each group a and b, and outputs a and b in a row. Each input line to be output.
Sample Input
1 5 10 20 0 0
Sample Output
6 30
#include<iostream>
using namespace std; int main() { int a,b,c; while(cin>>a>>b) { if(a+b!=0) cout<<a+b<<endl; } return 0; }
Plus a determination is 0 if the input is not output together.