/**
 * A librarian wants to find the missing books in the library.
 *
 * @param library A list of books available in the library.
 * @param borrowedBooks A list of books that have been borrowed.
 * @return A list of books that are missing from the library.
 */
fun findMissingBooks(library: List<String>, borrowedBooks: List<String>): List<String> {

    // Initialize an empty list to store the missing books
    val missingBooks = mutableListOf<String>()

    // Iterate through each book in the borrowedBooks list
    for (book in borrowedBooks) {
        // Check if the book is not present in the library
        if (book !in library) {
            // If the book is missing, add it to the missingBooks list
            missingBooks.add(book)
        }
    }

    // Return the list of missing books
    return missingBooks
}
/**
 * A librarian wants to find the missing books in the library.
 *
 * @param library A list of books available in the library.
 * @param borrowedBooks A list of books that have been borrowed.
 * @return A list of books that are missing from the library.
 */
fun findMissingBooks(library: List<String>, borrowedBooks: List<String>): List<String> {
/**
 * A librarian wants to find the missing books in the library.
 *
 * @param library A list of books available in the library.
 * @param borrowedBooks A list of books that have been borrowed.
 * @return A list of books that are missing from the library.
 */
fun findMissingBooks(library: List<String>, borrowedBooks: List<String>): List<String> {

    // Initialize an empty list to store the missing books
    val missingBooks = mutableListOf<String>()

    // Iterate through each book in the borrowedBooks list
    for (book in borrowedBooks) {
        // Check if the book is not present in the library
        if (book !in library) {
            // If the book is missing, add it to the missingBooks list
            missingBooks.add(book)
        }
    }

    // Return the list of missing books
    return missingBooks
}