Problem F: §2 2 单词排序
[Creator : ]
Description
输入一行单词序列,相邻单词之间由 $1$ 个或多个空格间隔,请按照字典序输出这些单词,要求重复的单词只输出一次。(区分大小写)
Input
一行单词序列,最少 $1$ 个单词,最多 $100$ 个单词,每个单词长度不超过 $50$,单词之间用至少 $1$ 个空格间隔。数据不含除字母、空格外的其他字符。
Output
按字典序输出这些单词,重复的单词只输出一次。
Sample 1 Input
She wants to go to Peking University to study Chinese
Sample 1 Output
Chinese
Peking
She
University
go
study
to
wants