Avish Kaushik's submission of Maximise the Sum | CodeChef