#P344. 【例60.1】 整数去重
【例60.1】 整数去重
Description
Given a sequence of integers, perform a deduplication operation on this sequence. Deduplication means that for each number that appears multiple times in the sequence, only the first occurrence is kept, and all subsequent occurrences are removed.
Input Format
The input consists of two lines:
The first line contains a positive integer (), representing the number of integers in the sequence on the second line;
The second line contains integers, separated by a single space. Each integer is greater than or equal to and less than or equal to .
Output Format
Output a single line containing the unique numbers in the order they first appear in the input, separated by a single space.
Sample
5
10 12 93 12 7510 12 93 75