/**
 * This function removes elements from a list based on the keys in a dictionary.
 *
 * @param dictionary A dictionary containing keys that indicate elements to be removed.
 * @param list1 A list of elements from which to remove items.
 * @return The updated list after removing elements based on the dictionary keys.
 */
fun removeName(dictionary: Map<String, Any>, list1: MutableList<String>): List<String> {

    for (key in dictionary.keys) {
        if (key in list1) {
            list1.remove(key)
        }
    }
    return list1
}
/**
 * This function removes elements from a list based on the keys in a dictionary.
 *
 * @param dictionary A dictionary containing keys that indicate elements to be removed.
 * @param list1 A list of elements from which to remove items.
 * @return The updated list after removing elements based on the dictionary keys.
 */
fun removeName(dictionary: Map<String, Any>, list1: MutableList<String>): List<String> {
/**
 * This function removes elements from a list based on the keys in a dictionary.
 *
 * @param dictionary A dictionary containing keys that indicate elements to be removed.
 * @param list1 A list of elements from which to remove items.
 * @return The updated list after removing elements based on the dictionary keys.
 */
fun removeName(dictionary: Map<String, Any>, list1: MutableList<String>): List<String> {

    for (key in dictionary.keys) {
        if (key in list1) {
            list1.remove(key)
        }
    }
    return list1
}