Input (grade 9): The first, second, and third place finishers in each event receive gold, silver, and bronze medals, respectively.
Output (grade 6): The first, second, and third place finishers in each event receive gold, silver, and bronze medals.