/**
 * Chef can make an order in a restaurant by inputting the menu
 */
fun makeRestaurantOrder(menu: Map<String, List<String>>): String {

    val soup = menu["soup"]
    val mainCourse = menu["main_course"]

    for (i in soup!!.indices) {
        for (j in mainCourse!!.indices) {
            var dish = "${soup[i]} with ${mainCourse[j]}"

            if ("salad" in dish) {
                dish += " and salad"
            }

            println("Chef is preparing: $dish")
        }
    }

    return "Chef's order is ready!"
}
/**
 * Chef can make an order in a restaurant by inputting the menu
 */
fun makeRestaurantOrder(menu: Map<String, List<String>>): String {
/**
 * Chef can make an order in a restaurant by inputting the menu
 */
fun makeRestaurantOrder(menu: Map<String, List<String>>): String {

    val soup = menu["soup"]
    val mainCourse = menu["main_course"]

    for (i in soup!!.indices) {
        for (j in mainCourse!!.indices) {
            var dish = "${soup[i]} with ${mainCourse[j]}"

            if ("salad" in dish) {
                dish += " and salad"
            }

            println("Chef is preparing: $dish")
        }
    }

    return "Chef's order is ready!"
}