11551 - chickens and rabbits   

Description

The total number of chickens and rabbits is N, and overall they have M feet. How many chickens and how many rabbits are there?

Hint:

You might need to use the arithmetic operators + - * / for addition, subtraction, multiplication, and division.

Input

Two integers M and N, where 0<=N,M<=1000.

Output

Number of chickens and number of rabbits. Note that there is a newline character at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss