/**
 * This function takes the name of a chef and a dish, and returns the specific action that the chef performs based on the requested dish.
 *
 * @param chefName The name of the chef.
 * @param dishName The name of the dish.
 * @return The action performed by the chef.
 */
fun serveFromChef(chefName: String, dishName: String): String {

    return when (chefName) {
        "Chef Luigi" -> {
            when (dishName) {
                "Pizza" -> "Chef Luigi rolls out the dough, spreads the sauce, adds the toppings, and bakes it in the oven."
                "Pasta" -> "Chef Luigi boils the pasta, prepares the sauce, mixes them together, and garnishes with fresh herbs."
                "Gelato" -> "Chef Luigi churns the gelato mixture, freezes it, and serves it with various toppings."
                else -> "Chef Luigi does not know how to prepare that dish."
            }
        }
        "Chef Pierre" -> {
            when (dishName) {
                "Croissant" -> "Chef Pierre mixes the dough, shapes it into crescent shapes, bakes them until golden brown."
                else -> "Chef Pierre does not know how to prepare that dish."
            }
        }
        else -> "Unknown chef"
    }
}
/**
 * This function takes the name of a chef and a dish, and returns the specific action that the chef performs based on the requested dish.
 *
 * @param chefName The name of the chef.
 * @param dishName The name of the dish.
 * @return The action performed by the chef.
 */
fun serveFromChef(chefName: String, dishName: String): String {
/**
 * This function takes the name of a chef and a dish, and returns the specific action that the chef performs based on the requested dish.
 *
 * @param chefName The name of the chef.
 * @param dishName The name of the dish.
 * @return The action performed by the chef.
 */
fun serveFromChef(chefName: String, dishName: String): String {

    return when (chefName) {
        "Chef Luigi" -> {
            when (dishName) {
                "Pizza" -> "Chef Luigi rolls out the dough, spreads the sauce, adds the toppings, and bakes it in the oven."
                "Pasta" -> "Chef Luigi boils the pasta, prepares the sauce, mixes them together, and garnishes with fresh herbs."
                "Gelato" -> "Chef Luigi churns the gelato mixture, freezes it, and serves it with various toppings."
                else -> "Chef Luigi does not know how to prepare that dish."
            }
        }
        "Chef Pierre" -> {
            when (dishName) {
                "Croissant" -> "Chef Pierre mixes the dough, shapes it into crescent shapes, bakes them until golden brown."
                else -> "Chef Pierre does not know how to prepare that dish."
            }
        }
        else -> "Unknown chef"
    }
}