An array of integers is given in sorted order. Remove duplicate elements from the array, ensuring that each element remains unique.
The first line contains a natural number n~(1 \le n \le 100) that indicates the size of the array. The next line contains sorted integers, each not exceeding an absolute value of .
Print the sorted array with duplicate elements removed.
Example 1
Example 2