/**
 * The archaeologist is trying to find the exact location of artifacts in the explored areas. The exploredAreas list contains tuples, where each tuple represents an area with its x and y coordinates. Implement a function that finds the artifacts in each explored area and returns a list containing tuples with the coordinates of the artifacts.
 *
 * @param archaeologist The name of the archaeologist.
 * @param exploredAreas A list of tuples representing the explored areas with their x and y coordinates.
 * @return A list of tuples with the coordinates of the artifacts in each explored area.
 */
fun findArtifactLocations(archaeologist: String, exploredAreas: List<Pair<Int, Int>>): List<List<Pair<Int, Int>>> {

    val artifactLocations = mutableListOf<List<Pair<Int, Int>>>()

    for (area in exploredAreas) {
        val artifacts = mutableListOf<Pair<Int, Int>>() // List to store the artifacts in the current area

        for (i in 1..4) {
            artifacts.add(Pair(area.first + i, area.second + i)) // Generate some sample artifact coordinates
        }

        artifactLocations.add(artifacts)
    }

    return artifactLocations
}
/**
 * The archaeologist is trying to find the exact location of artifacts in the explored areas. The exploredAreas list contains tuples, where each tuple represents an area with its x and y coordinates. Implement a function that finds the artifacts in each explored area and returns a list containing tuples with the coordinates of the artifacts.
 *
 * @param archaeologist The name of the archaeologist.
 * @param exploredAreas A list of tuples representing the explored areas with their x and y coordinates.
 * @return A list of tuples with the coordinates of the artifacts in each explored area.
 */
fun findArtifactLocations(archaeologist: String, exploredAreas: List<Pair<Int, Int>>): List<List<Pair<Int, Int>>> {
/**
 * The archaeologist is trying to find the exact location of artifacts in the explored areas. The exploredAreas list contains tuples, where each tuple represents an area with its x and y coordinates. Implement a function that finds the artifacts in each explored area and returns a list containing tuples with the coordinates of the artifacts.
 *
 * @param archaeologist The name of the archaeologist.
 * @param exploredAreas A list of tuples representing the explored areas with their x and y coordinates.
 * @return A list of tuples with the coordinates of the artifacts in each explored area.
 */
fun findArtifactLocations(archaeologist: String, exploredAreas: List<Pair<Int, Int>>): List<List<Pair<Int, Int>>> {

    val artifactLocations = mutableListOf<List<Pair<Int, Int>>>()

    for (area in exploredAreas) {
        val artifacts = mutableListOf<Pair<Int, Int>>() // List to store the artifacts in the current area

        for (i in 1..4) {
            artifacts.add(Pair(area.first + i, area.second + i)) // Generate some sample artifact coordinates
        }

        artifactLocations.add(artifacts)
    }

    return artifactLocations
}