Prasanth Reddy's submission of Maximize the sum | CodeChef