Mina and Rina Again

Time Limit: 1 sec

**The Problem**

**Mina** and **Rina** together have **X** taka. **Mina** has **Y** taka more than **Rina**. What amount of money does **Mina** and **Rina** each have.

Example:

if **X** = 7532, and **Y** = 560 then

**Mina** has 4046 taka and **Rina** has 3486 taka.

**The Input**

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**.

**The Output**

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.

**Sample Input**

7532 560

100 10

531 449

**Sample Output**

4046 3486

55 45

490 41

Problem Setter: Shahin ShamS