Abhijeet Krishnan's submission of maximize the sum | CodeChef