def score(ingredients, teaspoons):
    """ Find the product of the ingredient scores in the given measurements """
    product = 1
    for i in range(4):
        prop = 0
        for j, spoons in enumerate(teaspoons):
            prop += ingredients[j][i] * spoons
        if prop <= 0:
            # The final product will be 0, so exit early
            return 0
        product *= prop
    return product