Championship on fungi Sports
In Sunday's championship was held in Kharkov, student teams on collecting fungi in snowy areas. Five students of a profile on the eve of the university decided to train in the park. Training was held ten laps, during each of which two students for an hour to collect mushrooms. In addition, each student ran in tandem with each exactly once.
At the disposal of coach now has ten numbers - the number of fungi collected by each pair of students one hour search. He made the following suggestion: perhaps an hour, each student collects strictly defined non-negative number of fungi, as a result of two students - nothing less than the sum of their results, there is work in a pair does not interfere and does not help.
Determine whether the hypothesis of a coach to be true, and if so, to determine the results of all five students, if they were running on one.
Input
In the input file contains ten integers in the interval from 0 to 10^6. This is the number of fungi collected by pairs of students during the race. Of the order of the numbers is not known.
Output
The output file output the word "WRONG", if the hypothesis of a coach just wrong. Otherwise, output the five lines with the results of students' lone non-decreasing order.