/**
 * Given a book title and a library, remove the book if it exists and return the updated library.
 */
fun removeBook(bookTitle: String, library: MutableList<String>): MutableList<String> {

    library.remove(bookTitle)
    return library
}

// Example usage
/**
 * Given a book title and a library, remove the book if it exists and return the updated library.
 */
fun removeBook(bookTitle: String, library: MutableList<String>): MutableList<String> {
/**
 * Given a book title and a library, remove the book if it exists and return the updated library.
 */
fun removeBook(bookTitle: String, library: MutableList<String>): MutableList<String> {

    library.remove(bookTitle)
    return library
}

// Example usage