C. Soccer Standing Table
time limit per test
5 seconds
memory limit per test
1024 megabytes
input
standard input
output
standard output

In soccer, a win is worth 3 points, draw (tie) is worth 1 point, and loss is worth zero points. Soccer standing tables show the following info for each team: number of matches played (MP), number of wins (W), number of draws (D), number of losses (L), and total number of points (Pts). For example, the entry:

USA1154219

Indicates USA has played 11 matches, won 5 of them, drew 4 matches and lost 2, for a total number of points of 19 (5*3 + 4*1).

Even though the info is complete and helpful, some publications/websites list the numbers in different orders, e.g., the number of losses may be listed before the number of draws. And, if the columns are not labeled as to what they represent, that causes confusion.

Given five integers representing the entry for a soccer team, print these numbers in the order of MP-W-D-L-Pts.

Input

There is only one input line: it contains five integers, each between $$$0$$$ and $$$300$$$, inclusive. Assume that the input represents a valid entry, e.g., MP = W + D + L. Also assume that the input will not be all zeros, i.e., some games have been played.

Output

Print the numbers in the order of MP-W-D-L-Pts. Assume that there will be exactly one valid answer.

Examples
Input
19 11 2 4 5
Output
11 5 4 2 19
Input
2 2 6 20 10
Output
10 6 2 2 20
Input
0 0 1 1 0
Output
1 0 0 1 0