#K246. Player Ranking System
Player Ranking System
Player Ranking System
You are given a list of integers representing the points of players. The task is to determine the rank for each player based on the following thresholds:
- Bronze if \(p < 1000\)
- Silver if \(1000 \le p \le 2999\)
- Gold if \(3000 \le p \le 5999\)
- Platinum if \(p \ge 6000\)
Read the input from standard input and output the result to standard output. The output should be the ranks separated by a single space in one line.
inputFormat
The first line contains a single integer \(n\) representing the number of players. The second line contains \(n\) integers, each separated by a space, representing the points for each player.
outputFormat
Output a single line containing \(n\) strings separated by a single space. Each string is one of the following: "Bronze", "Silver", "Gold", or "Platinum", which corresponds to the rank of the player.
## sample4
500 2000 3500 6500
Bronze Silver Gold Platinum