/**
 * The function takes two recipes as inputs and returns the common ingredients between them
 */
fun findCommonIngredients(recipe1: List<String>, recipe2: List<String>): List<String> {

    val commonIngredients = mutableListOf<String>()

    for (ingredient1 in recipe1) {
        if (ingredient1 !in recipe2) {
            continue
        }
        commonIngredients.add(ingredient1)
    }

    return commonIngredients
}
/**
 * The function takes two recipes as inputs and returns the common ingredients between them
 */
fun findCommonIngredients(recipe1: List<String>, recipe2: List<String>): List<String> {
/**
 * The function takes two recipes as inputs and returns the common ingredients between them
 */
fun findCommonIngredients(recipe1: List<String>, recipe2: List<String>): List<String> {

    val commonIngredients = mutableListOf<String>()

    for (ingredient1 in recipe1) {
        if (ingredient1 !in recipe2) {
            continue
        }
        commonIngredients.add(ingredient1)
    }

    return commonIngredients
}