Problem H: 【字符串】字符串排序

Problem H: 【字符串】字符串排序

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1173  Solved: 656
[Submit] [Status] [Web Board] [Creator:]

Description

输入一组字符串,不超过100个,将输入的字符串按照升序排列并输出(每行一个)

Input

每行输入一个字符串(即:每个字符串以换行符号作为结束)每个字符串长度不超过25 
读取直到输入结束 

Sample Input Copy

bee
ant
dog
cat

Sample Output Copy

ant
bee
cat
dog