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.
Two integers M and N, where 0<=N,M<=1000.
Number of chickens and number of rabbits. Note that there is a newline character at the end of the output.