math's submission of MasterChef | CodeChef