/**
 * Given a list of artifacts and the name of an archaeologist,
 * find the items that are missing from the archaeologist's collection.
 *
 * @param items A list of artifacts.
 * @param archaeologist The name of the archaeologist.
 * @return The artifacts that are missing from the archaeologist's collection.
 *
 * Example:
 * artifacts = listOf("Pottery", "Coins", "Sword", "Statue", "Mask")
 * val missingItems = findMissingItems(artifacts, "John")
 * println(missingItems) // Output: [Pottery, Coins, Sword, Statue, Mask]
 * artifacts.toMutableList().remove("Coins")
 * val missingItems2 = findMissingItems(artifacts, "John")
 * println(missingItems2) // Output: [Coins]
 */
fun findMissingItems(items: List<String>, archaeologist: String): List<String> {

    val missingItems = mutableListOf<String>()
    for (item in items) {
        if (item !in archaeologist) {
            missingItems.add(item)
        }
    }
    return missingItems
}
/**
 * Given a list of artifacts and the name of an archaeologist,
 * find the items that are missing from the archaeologist's collection.
 *
 * @param items A list of artifacts.
 * @param archaeologist The name of the archaeologist.
 * @return The artifacts that are missing from the archaeologist's collection.
 *
 * Example:
 * artifacts = listOf("Pottery", "Coins", "Sword", "Statue", "Mask")
 * val missingItems = findMissingItems(artifacts, "John")
 * println(missingItems) // Output: [Pottery, Coins, Sword, Statue, Mask]
 * artifacts.toMutableList().remove("Coins")
 * val missingItems2 = findMissingItems(artifacts, "John")
 * println(missingItems2) // Output: [Coins]
 */
fun findMissingItems(items: List<String>, archaeologist: String): List<String> {
/**
 * Given a list of artifacts and the name of an archaeologist,
 * find the items that are missing from the archaeologist's collection.
 *
 * @param items A list of artifacts.
 * @param archaeologist The name of the archaeologist.
 * @return The artifacts that are missing from the archaeologist's collection.
 *
 * Example:
 * artifacts = listOf("Pottery", "Coins", "Sword", "Statue", "Mask")
 * val missingItems = findMissingItems(artifacts, "John")
 * println(missingItems) // Output: [Pottery, Coins, Sword, Statue, Mask]
 * artifacts.toMutableList().remove("Coins")
 * val missingItems2 = findMissingItems(artifacts, "John")
 * println(missingItems2) // Output: [Coins]
 */
fun findMissingItems(items: List<String>, archaeologist: String): List<String> {

    val missingItems = mutableListOf<String>()
    for (item in items) {
        if (item !in archaeologist) {
            missingItems.add(item)
        }
    }
    return missingItems
}