Type: RemoteJudge 1000ms 64MiB

练75.3 日期排序

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

有一些日期,日期格式为 “MM/DD/YYYY”。
编程将其按日期大小排列。

输入格式

输入第一行一个整nn(1<n10001 < n ≤1000),表示日期的个数。
接下来nn行按照题目描述的格式输入nn个日期。

输出格式

输出从早到晚排序后的日期,一个日期占一行,日期输出的格式和输入一样。

样例

8
01/26/1998
09/26/1927
01/05/1927
04/16/2024
08/08/1993
01/01/2019
06/22/1973
07/16/2030
01/05/1927
09/26/1927
06/22/1973
08/08/1993
01/26/1998
01/01/2019
04/16/2024
07/16/2030