/**
 * This function takes a list of colors and a list of unwanted colors.
 * It returns the list of colors after removing all the unwanted colors.
 *
 * @param colors A list of colors (string values)
 * @param unwantedColors A list of unwanted colors (string values)
 * @return A list of colors without the unwanted colors
 */
fun deleteUnwantedColors(colors: MutableList<String>, unwantedColors: List<String>): List<String> {

    // Remove unwanted colors from the list
    for (color in unwantedColors) {
        if (color !in colors) {
            continue
        }
        colors.remove(color)
    }
    return colors
}
/**
 * This function takes a list of colors and a list of unwanted colors.
 * It returns the list of colors after removing all the unwanted colors.
 *
 * @param colors A list of colors (string values)
 * @param unwantedColors A list of unwanted colors (string values)
 * @return A list of colors without the unwanted colors
 */
fun deleteUnwantedColors(colors: MutableList<String>, unwantedColors: List<String>): List<String> {
/**
 * This function takes a list of colors and a list of unwanted colors.
 * It returns the list of colors after removing all the unwanted colors.
 *
 * @param colors A list of colors (string values)
 * @param unwantedColors A list of unwanted colors (string values)
 * @return A list of colors without the unwanted colors
 */
fun deleteUnwantedColors(colors: MutableList<String>, unwantedColors: List<String>): List<String> {

    // Remove unwanted colors from the list
    for (color in unwantedColors) {
        if (color !in colors) {
            continue
        }
        colors.remove(color)
    }
    return colors
}