/**
 * Calculate the intersection of two lists using the AND operator and subtract the result from a third list using the 
 * Subtraction Assignment operator.
 * 
 * @param a The first list containing elements.
 * @param b The second list containing elements.
 * @param c The third list containing elements.
 * @return The result of subtracting the intersection of 'a' and 'b' from 'c'.
 * 
 * Example:
 * intersectionAndSubtractionAssignmentOperator(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8), mutableListOf(2, 4, 6, 8))
 * // Output: [2, 6, 8]
 */
fun intersectionAndSubtractionAssignmentOperator(a: List<Int>, b: List<Int>, c: MutableList<Int>): List<Int> {

    // Calculate the intersection of 'a' and 'b'
    val intersection = a.intersect(b).toList()

    // Subtract the intersection from 'c'
    c.removeAll(intersection)

    return c
}
/**
 * Calculate the intersection of two lists using the AND operator and subtract the result from a third list using the 
 * Subtraction Assignment operator.
 * 
 * @param a The first list containing elements.
 * @param b The second list containing elements.
 * @param c The third list containing elements.
 * @return The result of subtracting the intersection of 'a' and 'b' from 'c'.
 * 
 * Example:
 * intersectionAndSubtractionAssignmentOperator(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8), mutableListOf(2, 4, 6, 8))
 * // Output: [2, 6, 8]
 */
fun intersectionAndSubtractionAssignmentOperator(a: List<Int>, b: List<Int>, c: MutableList<Int>): List<Int> {
/**
 * Calculate the intersection of two lists using the AND operator and subtract the result from a third list using the 
 * Subtraction Assignment operator.
 * 
 * @param a The first list containing elements.
 * @param b The second list containing elements.
 * @param c The third list containing elements.
 * @return The result of subtracting the intersection of 'a' and 'b' from 'c'.
 * 
 * Example:
 * intersectionAndSubtractionAssignmentOperator(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8), mutableListOf(2, 4, 6, 8))
 * // Output: [2, 6, 8]
 */
fun intersectionAndSubtractionAssignmentOperator(a: List<Int>, b: List<Int>, c: MutableList<Int>): List<Int> {

    // Calculate the intersection of 'a' and 'b'
    val intersection = a.intersect(b).toList()

    // Subtract the intersection from 'c'
    c.removeAll(intersection)

    return c
}