/**
 * Given a list of fashion styles and a list of styles to remove,
 * remove the elements from the fashion_styles list that appear in the remove_styles list.
 *
 * @param fashionStyles A list of fashion styles.
 * @param removeStyles A list of styles to be removed.
 * @return A new list containing the fashion styles after removing the specified styles.
 *
 * Example:
 * removeElements(listOf("Casual", "Formal", "Trendy", "Vintage"), listOf("Formal", "Trendy"))
 * Output: ["Casual", "Vintage"]
 */
fun removeElements(fashionStyles: List<String>, removeStyles: List<String>): List<String> {

    val removedList = fashionStyles.toMutableList() // Create a copy of the original list

    for (style in removeStyles) {
        if (style in removedList) {
            removedList.remove(style) // Remove the style from the copied list
        }
    }

    return removedList
}
/**
 * Given a list of fashion styles and a list of styles to remove,
 * remove the elements from the fashion_styles list that appear in the remove_styles list.
 *
 * @param fashionStyles A list of fashion styles.
 * @param removeStyles A list of styles to be removed.
 * @return A new list containing the fashion styles after removing the specified styles.
 *
 * Example:
 * removeElements(listOf("Casual", "Formal", "Trendy", "Vintage"), listOf("Formal", "Trendy"))
 * Output: ["Casual", "Vintage"]
 */
fun removeElements(fashionStyles: List<String>, removeStyles: List<String>): List<String> {
/**
 * Given a list of fashion styles and a list of styles to remove,
 * remove the elements from the fashion_styles list that appear in the remove_styles list.
 *
 * @param fashionStyles A list of fashion styles.
 * @param removeStyles A list of styles to be removed.
 * @return A new list containing the fashion styles after removing the specified styles.
 *
 * Example:
 * removeElements(listOf("Casual", "Formal", "Trendy", "Vintage"), listOf("Formal", "Trendy"))
 * Output: ["Casual", "Vintage"]
 */
fun removeElements(fashionStyles: List<String>, removeStyles: List<String>): List<String> {

    val removedList = fashionStyles.toMutableList() // Create a copy of the original list

    for (style in removeStyles) {
        if (style in removedList) {
            removedList.remove(style) // Remove the style from the copied list
        }
    }

    return removedList
}