/**
 * Given a list of geography terms and a list of elements to remove, remove the elements from the original list and return the modified list.
 *
 * @param geographyList List of geography terms.
 * @param elementsToRemove List of elements to remove.
 * @return Modified list after removing the specified elements.
 */
fun removeElements(geographyList: MutableList<String>, elementsToRemove: List<String>): MutableList<String> {

    // Remove the elements from the list
    for (element in elementsToRemove) {
        if (element in geographyList) {
            geographyList.remove(element)
        }
    }
    return geographyList
}
/**
 * Given a list of geography terms and a list of elements to remove, remove the elements from the original list and return the modified list.
 *
 * @param geographyList List of geography terms.
 * @param elementsToRemove List of elements to remove.
 * @return Modified list after removing the specified elements.
 */
fun removeElements(geographyList: MutableList<String>, elementsToRemove: List<String>): MutableList<String> {
/**
 * Given a list of geography terms and a list of elements to remove, remove the elements from the original list and return the modified list.
 *
 * @param geographyList List of geography terms.
 * @param elementsToRemove List of elements to remove.
 * @return Modified list after removing the specified elements.
 */
fun removeElements(geographyList: MutableList<String>, elementsToRemove: List<String>): MutableList<String> {

    // Remove the elements from the list
    for (element in elementsToRemove) {
        if (element in geographyList) {
            geographyList.remove(element)
        }
    }
    return geographyList
}