LearnPy Hub
← Arena
IntermediateRating 1100

Medal Ranks

Replace each score by its rank: Gold, Silver, Bronze for the top three, then numbers 4, 5, .... Scores are distinct.

Input

n, then n scores.

Output

One line.

Sample 1

Input
5
5 4 3 2 1
Output
Gold Silver Bronze 4 5

Sample 2

Input
3
10 3 8
Output
Gold Bronze Silver
solution.py
Output appears here
Medal Ranks · Python Arena problem · LearnPy Hub