Statement
Statement language
You are given a permutation of the integers from to .
Construct a permutation .
The sequence must be nondecreasing. In other words, must hold for every ().
It is guaranteed that such a permutation always exists.
Input
The input is given in the following format:
Each case is given in the following format:
is the number of test cases. Each case gives the length and the permutation .
Output
For each test case, print the elements of any valid permutation on one line, separated by spaces.
If multiple valid answers exist, print any of them.
Constraints
- .
- .
- ().
- ().
- The sum of over all test cases is at most .
Subtasks
Samples
Input
2
3
1 2 3
4
4 3 2 1
Output
1 2 3
1 2 3 4