Without repetition#8971

Without repetition

1 segundo
64 megabytes
Muy fácil

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

Entrada

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 .

Salida

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

Ejemplos

Ejemplo 1

Loading
Loading