The harmonic value of the permutation $p_1,p_2,\cdots p_n$ is $$\sum_{i=1}^{n-1} gcd(p_i.p_{i+1})$$ Mr. Frog is wondering about the permutation whose harmonic value is the strictly k-th smallest among all the permutations of [n].
输入解释
The first line contains only one integer T ($1\leq T\leq 100$), which indicates the number of test cases.
For each test case, there is only one line describing the given integers n and k ($1\leq 2k \leq n \leq10000$).
输出解释
For each test case, output one line “Case #x: $p_1\ p_2\ \cdots \ p_n$”, where x is the case number (starting from 1) and $p_1\ p_2\ \cdots \ p_n$ is the answer.