Given an integer array $$$a$$$ of length $$$n$$$, find a permutation $$$\pi$$$ of $$$\{1,2,\ldots,n\}$$$ such that $$$ a_i+a_{\pi_i}=a_j+a_{\pi_j}$$$ for all $$$i,j\in\{1,2,\ldots,n\}$$$ or report none such permutation exists.
The first line of input contains a single integer $$$n$$$ ($$$1\leq n\leq 2\cdot 10^5$$$) — the length of the array.
The second line of input contains $$$n$$$ integers $$$a_1$$$, $$$a_2$$$, $$$\ldots$$$, $$$a_n$$$ ($$$0\leq a_i\leq 10^9$$$) — elements of the array.
If no such permutation exists, print $$$-1$$$.
Otherwise, on the first line print $$$\pi_1, \pi_2, \ldots, \pi_n$$$. If several such permutations exist, you can output any of them.
54 2 5 1 3
2 1 4 3 5
32 2 3
-1
In the first sample, we have:
In the second sample, no such permutation exists.
| Name |
|---|


