Without repetition#8971

Without repetition

1 second
64 megabytes
Very easy

From the provided array of integers, remove all duplicate elements. Specifically, for any repeated elements, retain only the one that appears first.

Input

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 .

Output

Print the array elements without duplicates, maintaining their original order, with each element separated by a space.

Examples

Example 1

Loading
Loading