1318: lq_python1303 省 字符串排序

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:2

Description

输入多个由小写字母组成的英文单词,然后按字典顺序排序输出。
注:单词首字母相同时就比较第二个字母,以此类推。

Input

输入多个由小写字母组成的英文单词,单词之间以一个英文逗号隔开

Output

按字典顺序排序输出,且单词之间以一个英文逗号隔开

Sample Input Copy

python,hello,world

Sample Output Copy

hello,python,world