/**
 * This function checks if the given vegetables are a part of the chef's special and if the spice is present.
 *
 * @param vegetable1 The first vegetable to check.
 * @param vegetable2 The second vegetable to check.
 * @param spice The spice to check.
 * @return A message indicating if the vegetables are a part of the chef's special and if the spice is present.
 */
fun checkChefSpecial(vegetable1: String, vegetable2: String, spice: String): String {

    val vegetables = listOf("carrot", "broccoli", "cauliflower", "potato")
    val chefSpecial = listOf("carrot", "cauliflower", "potato")

    return when {
        vegetable1 in vegetables && vegetable2 in vegetables && spice == "cumin" -> "Both vegetables are a part of the chef's special and cumin is present."
        vegetable1 in vegetables && vegetable2 in vegetables -> "Both vegetables are a part of the chef's special, but cumin is missing."
        vegetable1 in vegetables && spice == "cumin" -> "$vegetable1 is a part of the chef's special and cumin is present, but $vegetable2 is missing."
        else -> "Vegetables or spice do not match the chef's special."
    }
}
/**
 * This function checks if the given vegetables are a part of the chef's special and if the spice is present.
 *
 * @param vegetable1 The first vegetable to check.
 * @param vegetable2 The second vegetable to check.
 * @param spice The spice to check.
 * @return A message indicating if the vegetables are a part of the chef's special and if the spice is present.
 */
fun checkChefSpecial(vegetable1: String, vegetable2: String, spice: String): String {
/**
 * This function checks if the given vegetables are a part of the chef's special and if the spice is present.
 *
 * @param vegetable1 The first vegetable to check.
 * @param vegetable2 The second vegetable to check.
 * @param spice The spice to check.
 * @return A message indicating if the vegetables are a part of the chef's special and if the spice is present.
 */
fun checkChefSpecial(vegetable1: String, vegetable2: String, spice: String): String {

    val vegetables = listOf("carrot", "broccoli", "cauliflower", "potato")
    val chefSpecial = listOf("carrot", "cauliflower", "potato")

    return when {
        vegetable1 in vegetables && vegetable2 in vegetables && spice == "cumin" -> "Both vegetables are a part of the chef's special and cumin is present."
        vegetable1 in vegetables && vegetable2 in vegetables -> "Both vegetables are a part of the chef's special, but cumin is missing."
        vegetable1 in vegetables && spice == "cumin" -> "$vegetable1 is a part of the chef's special and cumin is present, but $vegetable2 is missing."
        else -> "Vegetables or spice do not match the chef's special."
    }
}