Remove Duplicates#244

Remove Duplicates

1 second
128 megabytes
Very easy (≈850)

An array of integers is given in sorted order. Remove duplicate elements from the array, ensuring that each element remains unique.

Input

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 .

Output

Print the sorted array with duplicate elements removed.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading