/**
 * Given a set 's', remove all the elements that appear in the list 'lst' from the set.
 *
 * @param s The original set.
 * @param lst The list containing elements to be removed from the set.
 * @return The updated set after removing elements.
 *
 * Example:
 * val s = mutableSetOf(1, 2, 3, 4, 5)
 * val lst = listOf(2, 4, 6)
 * removeElements(s, lst) // Output: [1, 3, 5]
 */
fun removeElements(s: MutableSet<Int>, lst: List<Int>): MutableSet<Int> {

    // Iterate over the list of elements to remove
    for (element in lst) {
        // Check if the element exists in the set
        if (element in s) {
            // Remove the element from the set
            s.remove(element)
        }
    }
    // Return the updated set
    return s
}
/**
 * Given a set 's', remove all the elements that appear in the list 'lst' from the set.
 *
 * @param s The original set.
 * @param lst The list containing elements to be removed from the set.
 * @return The updated set after removing elements.
 *
 * Example:
 * val s = mutableSetOf(1, 2, 3, 4, 5)
 * val lst = listOf(2, 4, 6)
 * removeElements(s, lst) // Output: [1, 3, 5]
 */
fun removeElements(s: MutableSet<Int>, lst: List<Int>): MutableSet<Int> {
/**
 * Given a set 's', remove all the elements that appear in the list 'lst' from the set.
 *
 * @param s The original set.
 * @param lst The list containing elements to be removed from the set.
 * @return The updated set after removing elements.
 *
 * Example:
 * val s = mutableSetOf(1, 2, 3, 4, 5)
 * val lst = listOf(2, 4, 6)
 * removeElements(s, lst) // Output: [1, 3, 5]
 */
fun removeElements(s: MutableSet<Int>, lst: List<Int>): MutableSet<Int> {

    // Iterate over the list of elements to remove
    for (element in lst) {
        // Check if the element exists in the set
        if (element in s) {
            // Remove the element from the set
            s.remove(element)
        }
    }
    // Return the updated set
    return s
}