Initially, you have an array of length , which is . Here .
In each step, you must choose the two largest integers and in the array, where , and insert two integers and to the array (in any positions).
Thus, you can construct an array of any even length .
Now you are given an array of even length .
Please determine whether you can form this array by the steps. If so, then find out which is the initial array.
Constraints
The sum of across all test cases does not exceed .
Input Format
Output Format
In the first case:
In the second case: