/**
 * The librarian wants to access the title of a book in the book dictionary.
 * Complete the code to access the title and return it.
 *
 * @param bookDict A dictionary containing information about the book.
 *                 The book title is stored under the key 'title'.
 * @return The title of the book.
 *
 * Example:
 * val book = mapOf("title" to "The Catcher in the Rye", "author" to "J.D. Salinger", "year" to 1951)
 * getBookTitle(book) // Output: "The Catcher in the Rye"
 */
fun getBookTitle(bookDict: Map<String, Any>): String {

    // Access the title of the book in the bookDict dictionary
    val title = bookDict["title"] as String

    // Return the title
    return title
}
/**
 * The librarian wants to access the title of a book in the book dictionary.
 * Complete the code to access the title and return it.
 *
 * @param bookDict A dictionary containing information about the book.
 *                 The book title is stored under the key 'title'.
 * @return The title of the book.
 *
 * Example:
 * val book = mapOf("title" to "The Catcher in the Rye", "author" to "J.D. Salinger", "year" to 1951)
 * getBookTitle(book) // Output: "The Catcher in the Rye"
 */
fun getBookTitle(bookDict: Map<String, Any>): String {
/**
 * The librarian wants to access the title of a book in the book dictionary.
 * Complete the code to access the title and return it.
 *
 * @param bookDict A dictionary containing information about the book.
 *                 The book title is stored under the key 'title'.
 * @return The title of the book.
 *
 * Example:
 * val book = mapOf("title" to "The Catcher in the Rye", "author" to "J.D. Salinger", "year" to 1951)
 * getBookTitle(book) // Output: "The Catcher in the Rye"
 */
fun getBookTitle(bookDict: Map<String, Any>): String {

    // Access the title of the book in the bookDict dictionary
    val title = bookDict["title"] as String

    // Return the title
    return title
}