On Sunday, a championship among student teams for collecting fungi in snowy areas was held in Kharkov. Five students from a specialized university decided to train in the park in advance. Ten practice runs were held, each time with two students collecting fungi in one hour. During these trainings, each student paired with each of the others exactly once.
The coach now has ten numbers — the amount of fungi collected by each pair of students during each one-hour practice. He made the following assumption: each student collects a strictly determined non-negative number of fungi per hour, and the result of a team of two is simply the sum of their individual results; working in a pair neither hinders nor helps.
Determine whether the coach's hypothesis can be true, and if so, determine the results for all five students if they were running alone.
The input file contains ten integers between and 10^6. These are the numbers of fungi collected by student pairs during the practices. No information is given about the order of the numbers.
Print the word "WRONG" if the coach's hypothesis is definitely wrong. Otherwise, print the results of all five students, each on a new line, in non-decreasing order.
Example 1