/**
 * As a chef, you need to determine if you have all the ingredients required to cook pasta and if the cooking time is suitable.
 *
 * Return "Start cooking pasta!" if all the conditions are met, otherwise return "Unable to cook pasta!".
 *
 * Ingredients needed for pasta: water, pasta, salt
 * Suitable cooking time for pasta: at least 10 minutes and no more than 20 minutes.
 *
 * @param ingredients A list of ingredients available in the kitchen.
 * @param cookingTime The estimated cooking time in minutes.
 * @return Message indicating if it is possible to cook pasta with the given ingredients and cooking time.
 */
fun cookPasta(ingredients: List<String>, cookingTime: Int): String {

    if ("water" in ingredients && "pasta" in ingredients && "salt" in ingredients && (cookingTime >= 10 && cookingTime <= 20)) {
        return "Start cooking pasta!"
    } else {
        return "Unable to cook pasta!"
    }
}
/**
 * As a chef, you need to determine if you have all the ingredients required to cook pasta and if the cooking time is suitable.
 *
 * Return "Start cooking pasta!" if all the conditions are met, otherwise return "Unable to cook pasta!".
 *
 * Ingredients needed for pasta: water, pasta, salt
 * Suitable cooking time for pasta: at least 10 minutes and no more than 20 minutes.
 *
 * @param ingredients A list of ingredients available in the kitchen.
 * @param cookingTime The estimated cooking time in minutes.
 * @return Message indicating if it is possible to cook pasta with the given ingredients and cooking time.
 */
fun cookPasta(ingredients: List<String>, cookingTime: Int): String {
/**
 * As a chef, you need to determine if you have all the ingredients required to cook pasta and if the cooking time is suitable.
 *
 * Return "Start cooking pasta!" if all the conditions are met, otherwise return "Unable to cook pasta!".
 *
 * Ingredients needed for pasta: water, pasta, salt
 * Suitable cooking time for pasta: at least 10 minutes and no more than 20 minutes.
 *
 * @param ingredients A list of ingredients available in the kitchen.
 * @param cookingTime The estimated cooking time in minutes.
 * @return Message indicating if it is possible to cook pasta with the given ingredients and cooking time.
 */
fun cookPasta(ingredients: List<String>, cookingTime: Int): String {

    if ("water" in ingredients && "pasta" in ingredients && "salt" in ingredients && (cookingTime >= 10 && cookingTime <= 20)) {
        return "Start cooking pasta!"
    } else {
        return "Unable to cook pasta!"
    }
}