Difficulty Level: 🟢 Beginner
Domain: Programming Languages (Any Language)
Description: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal", "Silver Medal", and "Bronze Medal".
Input Example:
scores = [5, 4, 3, 2, 1]
Output Example:
["Gold Medal", "Silver Medal", "Bronze Medal", "4", "5"]
Instructions:
- Implement a function that processes the input list of scores.
- Return a list of strings representing the ranks of the athletes. The top three athletes should receive the medals as specified, and the others should be represented by their rank as a string.
- Your solution can be implemented in any programming language.
- Ensure to include comments in your code explaining your approach.