Problem: Given a positive integer , we say that a sequence of positive integers is -cute if for every index such that it holds that for some positive integer satisfying .
You will be given queries consisting of three positive integers , and . For each query you must determine whether or not there exists an -cute sequence whose first term is and whose last term is . If such a sequence exists, you must additionally find an example of it.
Input Format: The first line contains an integer number () — the number of queries.
Each of the following lines contains three integers , , and (, ), describing a single query.
Output Format: For each query, if no -cute sequence whose first term is and whose last term is exists, print .
Otherwise print an integer (), followed by integers (). These integers must satisfy , , and that the sequence is -cute.
It can be shown that under the problem constraints, for each query either no -cute sequence exists, or there exists one with at most terms.
If there are multiple possible sequences, you may print any of them.
Note: Consider the sample. In the first query, the sequence is valid since , and have the bold values all between and , so the sequence is -cute. Other valid sequences, such as are also accepted.
In the second query, the only possible -cute sequence starting at is , which does not contain .