Given a sorted array, remove the duplicates such that each element appears only once.
The first line contains the size n~(1 \le n \le 100) of array. The second line gives integers in sorted order, each number is no greater than by absolute value.
Print the sorted array with removed duplicates.
Example 1
Example 2