Problem A. Average thrice

Author:Антон Карабанов   Time limit:1 sec
Input file:Standard input   Memory limit:512 Mb
Output file:Standard output  

Statement

Artem made up three integers and told Eugene the average value of every pair of them. Eugene easily restored original integers. Now you try to do the same!

Input format

Input contains three numbers: x, y and z. Numbers are either integers or have fractional part of exactly 0.5. At least one number is not zero.

Output format

Output original integers in non-descending order (input data are such that the original numbers will turn out to be integer).

Constraints

 − 108 ≤ x, y, z ≤ 108

Notes on sample

In the sample x = 1.5, y = 2 and z = 3.5. These are pairwise averages for a = 0, b = 3 and c = 4. Indeed:

a + b2 = 0 + 32 = 1.5 = x;

a + c2 = 0 + 42 = 2 = y;

b + c2 = 3 + 42 = 3.5 = z.

Sample tests

No. Standard input Standard output
1
1.5 2 3.5
0 3 4

0.064s 0.011s 13