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

    // Iterate over the removeList
    for (book in removeList) {
        // Check if the book exists in the booksList
        if (book in booksList) {
            // Remove the book from the booksList
            booksList.remove(book)
        }
    }
    return booksList
}
/**
 * Given a list of books and a list of books to be removed, remove the books from the library inventory.
 *
 * @param booksList List of books in the library inventory.
 * @param removeList List of books to be removed from the library inventory.
 * @return The updated library inventory after removing the specified books.
 */
fun removeBooks(booksList: MutableList<String>, removeList: List<String>): MutableList<String> {
/**
 * Given a list of books and a list of books to be removed, remove the books from the library inventory.
 *
 * @param booksList List of books in the library inventory.
 * @param removeList List of books to be removed from the library inventory.
 * @return The updated library inventory after removing the specified books.
 */
fun removeBooks(booksList: MutableList<String>, removeList: List<String>): MutableList<String> {

    // Iterate over the removeList
    for (book in removeList) {
        // Check if the book exists in the booksList
        if (book in booksList) {
            // Remove the book from the booksList
            booksList.remove(book)
        }
    }
    return booksList
}