There are multiple test cases. The first line of the input is an integer $T$, indicating the number of test cases. For each test case:
The first line contains two integers $n$ and $k(1 \le n \le 3 \times 10^3, 0 \le k \le \frac{n(n-1)}{2})$, their meanings are described above.
The second line contains $n$ integers $a_1, a_2, ..., a_n(1 \le a_i \le 10^6)$ , indicating the given array.
It's guaranteed that the sum of $n$ over all test cases will not exceed $10^4$.