Trulicina gives you integers $$$n$$$, $$$m$$$, and $$$k$$$. It is guaranteed that $$$k\geq 2$$$ and $$$n\cdot m\equiv 0 \pmod{k}$$$.
Output a $$$n$$$ by $$$m$$$ grid of integers such that each of the following criteria hold:
It can be shown that such a grid always exists. If there are multiple solutions, output any.
The first line contains an integer $$$t$$$ ($$$1 \leq t \leq 10^4$$$) — the number of test cases.
The first line of each test case contains three integers $$$n$$$, $$$m$$$, and $$$k$$$ ($$$2 \leq n\cdot m\leq 2\cdot 10^5, 2\leq k\leq n\cdot m, n\cdot m\equiv 0 \pmod{k})$$$.
It is guaranteed that the sum of $$$n\cdot m$$$ over all test cases does not exceed $$$2\cdot 10^5$$$.
For each test case, output $$$n$$$ lines, each containing $$$m$$$ integers that satisfy the criteria. If there are multiple solutions, output any.
32 2 23 4 65 5 25
1 2 2 1 1 6 1 6 2 5 2 5 3 4 3 4 17 2 12 25 14 3 1 6 19 11 8 20 23 24 4 9 10 5 13 21 22 7 15 18 16