407164: GYM102697 135 Anti-sort
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
135. Anti-sorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output This problem is worth 10 points.
You're given a list of $$$n$$$ words. You've discovered that when a rival CodeQuest team finds a list of words, they sort it in alphabetical order. To distinguish yourself from your rival CodeQuest team, you decide to sort the list of words in reverse order.
InputThe first line of input contains a single positive integer $$$n$$$: the number of words.
The next $$$n$$$ lines each contain a single word, consisting only of lowercase letters
OutputOutput $$$n$$$ lines: the list of words, sorted in reverse alphabetical order.
ExamplesInput2 coderams clubOutput
coderams clubInput
11 hello world we hope you enjoy the contest today good luckOutput
you world we today the luck hope hello good enjoy contest