#UnknownID11. JIXMPII5JUgTXH0#)&+
JIXMPII5JUgTXH0#)&+
Statement
You are given an array . Your task is to find any array , where:
- for all .
- for all .
Here denotes the remainder of the division of the integer by the integer . For example , , .
Note that if there is more than one which satisfies the statement, you are allowed to find any.
Format
Input
The first line contains a single integer — the number of test cases.
The first line of each test case contains a single integer — the number of elements in .
The second line of each test case contains integers — the elements of .
It is guaranteed that the sum of values over all test cases does not exceed .
Output
For each test case output any ( ) which satisfies the statement.
Sample
5
4
2 4 1
3
1 1
6
4 2 5 1 2
2
500
3
1 5
3 5 4 9
2 5 11
5 14 16 5 11 24
501 500
2 7 5
相关
在下列比赛中: