After all the athletes enter the stadium, the final medals ceremony of the Games is held. The organizing committee of the respective host city, after consulting with the IOC, determines which event will have its medals presented. During the Summer Olympics, this is usually the men's marathon and starting in 2020 games, the woman's event medals was presented. Traditionally, the men's marathon is held in the last day of competition on the last day of the Olympics, and the race is finished some hours before the start of the closing ceremony. However, recent Summer Olympiads in Atlanta, Beijing, Rio and Tokyo (although 2020's marathons were held in Sapporo, 500 miles away) staged the men's marathon in the early morning hours due the climate conditions in the host city. Since the 2006 Winter Olympics, the medals for the men's 50 km cross-country skiing event and starting on 2014 the woman's 30 km cross-country skiing event were presented at the closing ceremony. The medallists national flags are then hoisted and the national anthem of the gold medallist's country is played.