You have a sequence $$$a$$$ of $$$N$$$ integers between $$$0$$$ and $$$K$$$ inclusive. $$$M$$$ segments are given, where $$$i$$$th segment is $$$[l_i, r_i]$$$. We want $$$\sum_{j=l_i}^{r_i} a_j = K$$$ to satisfy for every segment. Determine whether there exists such sequence $$$a$$$.
Each test data contains one or more test cases. The first line contains an integer $$$T$$$ — the number of test cases for this input file.
First line of each test case contains $$$3$$$ integers $$$N$$$, $$$M$$$, $$$K$$$.
$$$i$$$-th of the next $$$M$$$ lines contain two integers $$$l_i$$$ and $$$r_i$$$: left and right end of $$$i$$$-th segment.
For each test case, if a sequence that satisfies the condition exists, output the elements of the sequence. In case of multiple answers you may output any of them.
If no valid sequence exists, output a single integer $$$-1$$$.
46 3 31 32 43 54 6 21 21 31 42 32 43 44 4 11 23 41 32 43 3 101 12 23 3
1 1 1 1 1 1 -1 1 0 0 1 10 10 10