http://acm.hust.edu.cn/problem.php?id=1001
Another A+B
Description
Give you an integer a, you are to find two another integers which sum is a.
Input
Multiply Cases.
For each line, there is an Integer a.
Output
For each test case, you should two Integers b and c, and b+c=a in each line.
Sample Input
10 11
Sample Output
1 9 3 8
#include<iostream>
using namespace std;
int main()
{
int n;
while(cin>>n)
cout<<n<<" 0"<<endl;
}