Aryaman Jain's submission of Maximise the Sum | CodeChef