eolymp
bolt
Try our new interface for solving problems
Problems

Professor and balloons

Professor and balloons

For the holiday, the Professor bought blue, red, and yellow balloons. In total he bought $n$ balloons. There are $a$ yellow and blue balloons together. There are $b$ red and blue balloons together. How many blue, red and yellow balloons did the Professor buy? \InputFile Three positive integers $n, a, b$. \OutputFile Print in one line the number of blue, red and yellow balloons that the Professor bought.
Time limit 1 second
Memory limit 128 MiB
Input example #1
10 6 8
Output example #1
4 4 2