apple pie's submission of Olympics Ranking | CodeChef