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.
Input example #1
7 3 5 -7 7 5 -9 -4
Output example #1
3 -7 7 -9 -4