Medium
Unique in Order
Write a generator that yields items of a sequence skipping any it has already yielded. Print the result on one line.
Input
One line of words.
Output
One line.
Sample 1
Input
a b a c b
Output
a b c
Sample 2
Input
x x x
Output
x
Output appears here