Grammy has a sequence A of length n.
Please find a permutation P such that P_i=A_i for all i.
There are multiple test cases.
The first line contains a single integer T (1≤T≤100,000), denoting the number of test cases.
For each test case:
The first line contains a single integer n (1≤n≤100,000).
The second line contains n integers A_1,A_2,…,A_n (1≤A_i≤n).
It is guaranteed that the sum of n does not exceed 500,000.
For each test case:
If the permutation does not exist, output "NO" on a single line.
Otherwise, output "YES" one the first line, then output n integers one the second line, denoting the permutation P_1,P_2,…,P_n.