Mark Chen's submission of Skiing | CodeChef