문제 설명
Given a sequence of N numbers, write a program that sorts the sequence by removing duplicate numbers and outputting the results.
입력 설명
First, the number of test cases T (1 <= T <= 100) is input.
Then, the number of numbers N and N numbers M[i] are input as the number of test cases. (1 <= N <= 50, 1 <= M[i] <= 1,000)
출력 설명
For each test case, output the result of the sequence sorted in ascending order, removing duplicate numbers.
3
5
1 1 2 3 3
7
1 5 9 2 4 5 9
10
29 80 80 91 92 96 80 29 38 3
1 2 3
1 2 4 5 9
3 29 38 80 91 92 96