##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
This is an interactive problem. After each printed line, flush the output.
You are given an integer and an unknown permutation of . You must determine the entire permutation by asking at most queries.
In one query, you choose an odd integer and then give distinct indices in the order you want. The given indices are not necessarily sorted.
The judge answers with two values:
Under these constraints, it is guaranteed that there exists a strategy that finds the permutation within the query limit.
The whole interaction is repeated for test cases.
To ask a query, print:
where is an odd integer between and , all are distinct, and , then flush.
The judge replies with:
as defined in the statement.
When you have determined the permutation, print:
Then flush.
You must use at most queries.
You will get a For the following cases:
Your solution does not give a correct output (obviously)
Your solution asks more queries than the problem specifies (Query Limit Exceeded)
Your solution remains Idle without printing any queries (Idleness Limit Exceeded)