Welcome to Changing Game! In this game, you are given an integer array $$$A$$$ of $$$n$$$ distinct values $$$a_1, a_2, \cdots, a_n$$$.
You are allowed to do some operations on array $$$A$$$. In each operation you can select an element from $$$A$$$ and replace it with an integer $$$c$$$. Note that you need to keep all elements of $$$A$$$ distinct after each operation.
Now, you are given an integer array $$$B = \left[b_1, b_2, \cdots, b_n\right]$$$ which derives from $$$A$$$ through some number of operations by Master Yi. Could you restore the operation sequence performed by Master Yi that produces $$$B$$$ from $$$A$$$? It sounds too easy to do this job. In order to increase the difficulty of this problem, Master Yi recommended that you need to find the most optimal one. In other words, you should find the minumum number of operation(s) that produces $$$B$$$ from $$$A$$$.
You need to process $$$t$$$ test cases.
The first line contains an integer $$$t\ (1\le t\le 100)$$$ — the number of test cases. Then descriptions of $$$t$$$ test cases follow.
It is guaranteed that the sum of the length $$$n$$$ for all test cases does not exceed $$$2\ 000\ 000$$$.
For each test case, you should print several lines as follow.
If there are multiple answers, you can print any of them.
1 5 1 2 3 4 5 2 3 4 5 6
5 5 6 4 5 3 4 2 3 1 2