~/algor $ cat problems/tartibli-uchlik
Ordered triple
Easy
1000 ms
64 MB
19%
Three integers $A$, $B$ and $C$ are given. If they are in ascending order ($A < B < C$), multiply each by $2$; otherwise replace each with its opposite. Find the new values of $A$, $B$ and $C$.
Input
One line with three integers: $A$, $B$ and $C$.
Output
One line with three integers: the new $A$, $B$ and $C$.
Note
$-10^{6} \le A, B, C \le 10^{6}$
Examples
Input #1
1 2 3
Output #1
2 4 6
Input #2
3 2 1
Output #2
6 4 2