Problem: For an array , let's denote its subarray as the array .
For example, the array has non-empty subarrays:
- ;
- ;
- ;
- ;
- ;
- .
You are given two integers and . Construct an array consisting of integers such that:
- all elements of are from to ;
- has exactly subarrays with positive sums;
- the rest subarrays of have negative sums.
Input Format: The first line contains one integer () — the number of test cases.
Each test case consists of one line containing two integers and (; ).
Output Format: For each test case, print integers — the elements of the array meeting the constraints. It can be shown that the answer always exists. If there are multiple answers, print any of them.