apple pie's submission of Maximise the Tastiness | CodeChef