fn cookie_calories(ingredients: &[Ingredient], ratios: &[i64]) -> i64