_Sam's submission of Finding Second Maximum | CodeChef