/**
 * Given a list of books and a list of books to remove, remove the specified books from the original list.
 *
 * @param books A list of books.
 * @param removeList A list of books to be removed from the original list.
 * @return The updated list of books after removing the specified books.
 */
fun removeBooks(books: MutableList<String>, removeList: List<String>): MutableList<String> {

    for (book in removeList) {
        while (book in books) {
            books.remove(book)
        }
    }
    return books
}
/**
 * Given a list of books and a list of books to remove, remove the specified books from the original list.
 *
 * @param books A list of books.
 * @param removeList A list of books to be removed from the original list.
 * @return The updated list of books after removing the specified books.
 */
fun removeBooks(books: MutableList<String>, removeList: List<String>): MutableList<String> {
/**
 * Given a list of books and a list of books to remove, remove the specified books from the original list.
 *
 * @param books A list of books.
 * @param removeList A list of books to be removed from the original list.
 * @return The updated list of books after removing the specified books.
 */
fun removeBooks(books: MutableList<String>, removeList: List<String>): MutableList<String> {

    for (book in removeList) {
        while (book in books) {
            books.remove(book)
        }
    }
    return books
}