From the provided array of integers, remove all duplicate elements. Specifically, for any repeated elements, retain only the one that appears first.
The first line contains the integer , representing the number of elements in the array. The second line contains integers, each with an absolute value not exceeding .
Print the array elements without duplicates, maintaining their original order, with each element separated by a space.
Example 1