Easy
Add to a Set
Read words on one line into a set, then add the word on the second line. Print the sorted contents on one line.
Input
Two lines.
Output
One line.
Sample 1
Input
b a c
Output
a b c
Sample 2
Input
a b a
Output
a b
Output appears hereTwo lines.
One line.
b a c
a b c
a b a
a b
Output appears here