Bubble Gum Sort
time limit per test
1 second
memory limit per test
512 megabytes
input
standard input
output
standard output

Ecrade_ has an integer sequence of length $$$n$$$, denoted as $$$a_1, a_2, \ldots, a_n$$$.

You can perform several operations on this sequence. In each operation, you can choose an index $$$p\ (1\le p \lt n)$$$, increment $$$a_{p+1}$$$ by $$$1$$$, and then swap $$$a_p$$$ and $$$a_{p+1}$$$.

Ecrade_ wants you to transform the sequence into a strictly increasing sequence within $$$n^2-n$$$ operations, or report that it is impossible to achieve this goal.

Input

The first line contains an integer $$$T\ (1\le T\le 10)$$$, representing the number of test cases.

For each test case:

Output

For each test case:

Example

Input
3
2
1 2
2
2 1
3
4 5 1
Output
0

-1
2
2 1

Note