Problem: For an array of size , we define:
- the maximum prefix position of is the smallest index that satisfies ;
- the maximum suffix position of is the largest index that satisfies .
You are given three integers , , and (). Construct an array of size satisfying:
- is either or for all ;
- the maximum prefix position of is ;
- the maximum suffix position of is .
If there are multiple arrays that meet the conditions, print any. It can be proven that such an array always exists under the given conditions.
Input Format: The first line contains an integer () — the number of test cases.
For each test case:
- The only line contains three integers , , and (.
It is guaranteed that the sum of over all test cases will not exceed .
Output Format: For each test case, output space-separated integers in a new line.
Note: In the second test case,
- is the smallest index that satisfies ;
- is the greatest index that satisfies .
Thus, the array is considered correct.