/**
 * Given a list of archaeological sites, this function returns a list of sites that fulfill certain conditions.
 */
fun findArchaeologicalSites(sites: List<String>): Triple<List<String>, List<String>, List<String>> {

    val ancientSites = mutableListOf<String>()
    val notableSites = mutableListOf<String>()
    val significantSites = mutableListOf<String>()

    for (site in sites) {
        when {
            "ancient" in site -> ancientSites.add(site)
            "notable" in site -> notableSites.add(site)
            "significant" in site -> significantSites.add(site)
        }
    }

    return Triple(ancientSites, notableSites, significantSites)
}
/**
 * Given a list of archaeological sites, this function returns a list of sites that fulfill certain conditions.
 */
fun findArchaeologicalSites(sites: List<String>): Triple<List<String>, List<String>, List<String>> {
/**
 * Given a list of archaeological sites, this function returns a list of sites that fulfill certain conditions.
 */
fun findArchaeologicalSites(sites: List<String>): Triple<List<String>, List<String>, List<String>> {

    val ancientSites = mutableListOf<String>()
    val notableSites = mutableListOf<String>()
    val significantSites = mutableListOf<String>()

    for (site in sites) {
        when {
            "ancient" in site -> ancientSites.add(site)
            "notable" in site -> notableSites.add(site)
            "significant" in site -> significantSites.add(site)
        }
    }

    return Triple(ancientSites, notableSites, significantSites)
}