You are given three integers $$$n$$$, $$$m$$$, and $$$k$$$, where $$$m \cdot k \lt n$$$.
For a sequence $$$b$$$ consisting of non-negative integers, define $$$f(b)$$$ as follows:
You need to construct a sequence $$$a$$$ of length $$$n$$$ consisting of non-negative integers, such that:
$$$^{\text{∗}}$$$The minimum excluded (MEX) of a collection of integers $$$c_1, c_2, \ldots, c_k$$$ is defined as the smallest non-negative integer $$$x$$$ which does not occur in the collection $$$c$$$.
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^4$$$). The description of the test cases follows.
The first line of each test case contains three integers $$$n$$$, $$$m$$$, and $$$k$$$ ($$$2 \le n \le 2 \cdot 10^5$$$, $$$1 \le m \lt n$$$, $$$1 \le k \lt n$$$, $$$1 \le m \cdot k \lt n$$$).
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$2 \cdot 10^5$$$.
For each test case, output $$$n$$$ integers $$$a_1, a_2, \ldots, a_n$$$ ($$$0 \le a_i \le 10^9$$$).
If there are multiple answers, print any of them.
82 1 15 2 26 1 48 2 28 1 511 3 322 6 317 2 2
0 0 0 1 0 0 0 0 1 2 2 0 1 0 2 1 0 1 0 8 1 0 1 2 1000000000 1 0 1 2 1 0 0 1 0 2 1 0 2 1 0 0 2 1 0 2 1 0 3 2 1 0 2 1 0 2 1 0 2 1 0 2 1 4 0 2 1 3 4 0 2 1 0 3 4 0 1 2 1 3
In the first test case, it can be shown that $$$f(a) = 1$$$, which is maximized.
In the second test case, it can be shown that $$$f(a) = 1$$$, which is maximized. $$$f(a) = 1$$$ since you can perform the following operations:
In the third test case, it can be shown that $$$f(a) = 2$$$, which is maximized. $$$f(a) = 2$$$ since you can perform the following operation:
In the fourth test case, it can be shown that $$$f(a) = 2$$$, which is maximized.
In the fifth test case, it can be shown that $$$f(a) = 3$$$, which is maximized.
In the sixth test case, it can be shown that $$$f(a) = 2$$$, which is maximized.