#D8521. Unique
Unique
Unique
For a sequence of integers which is sorted by ascending order, eliminate all equivalent elements.
Constraints
Input
A sequence is given in the following format.
Output
Print the sequence after eliminating equivalent elements in a line. Separate adjacency elements by a space character.
Example
Input
4 1 2 2 4
Output
1 2 4
inputFormat
Input
A sequence is given in the following format.
outputFormat
Output
Print the sequence after eliminating equivalent elements in a line. Separate adjacency elements by a space character.
Example
Input
4 1 2 2 4
Output
1 2 4
样例
4
1 2 2 4
1 2 4