I\'d like to create an optimiser in Python that takes a list of ingredients and the nutritional value of the product, and outputs the amount of each ingredient in the product.