Problem B
Stacking Cups
Languages
en
ja

For instance, for a red cup with a radius of
Given a list of messages from the core routine, each describing a different cup, can you put the cups in order of the smallest to the largest?
Input
The first line of the input file contains an integer
Output
Output colors of cups, one color per line, in order of increasing radius.
Sample Input 1 | Sample Output 1 |
---|---|
3 red 10 10 blue green 7 |
blue green red |