Your team wins 18 medals at a track meet. The medals are gold, silver, and bronze in a ratio of 2 : 2 : 5. How many of each medal were won by your team?