Mina and Rina Again
Time Limit: 1 sec
Mina and Rina together have X taka. Mina has Y taka more than Rina. What amount of money does Mina and Rina each have.
if X = 7532, and Y = 560 then
Mina has 4046 taka and Rina has 3486 taka.
Input file contain a series of line, each line contain two integer numbers X and Y (X<=10000 and Y<=1000). Input is terminated by EOF.
For each line of input, output will show the two integer numbers first one is Mina's and second one is Rina's taka which is seperate by space in a separate line.
Problem Setter: Shahin ShamS