eolymp
bolt
Try our new interface for solving problems
Problems

Unique elements

Unique elements

Array of n integers is given. Print those elements that appears in array only once. Print the elements in the same order as they appear in the list.

Input

First line contains number n. Next line contains n integers. All numbers do not exceed 100 by absolute value.

Output

Print the list of unique elements.

Time limit 1 second
Memory limit 128 MiB
Input example #1
7
3 5 -7 7 5 -9 -4
Output example #1
3 -7 7 -9 -4