/**
 * This function finds the common hieroglyphs between two anthropologists' findings.
 * It returns a list containing the common hieroglyphs.
 */
fun findCommonHieroglyphs(anthropologistA: List<String>, anthropologistB: List<String>): List<String> {

    val commonHieroglyphs = mutableListOf<String>()
    
    for (glyph in anthropologistA) {
        if (glyph in anthropologistB) {
            commonHieroglyphs.add(glyph)
        }
    }
    
    return commonHieroglyphs
}
/**
 * This function finds the common hieroglyphs between two anthropologists' findings.
 * It returns a list containing the common hieroglyphs.
 */
fun findCommonHieroglyphs(anthropologistA: List<String>, anthropologistB: List<String>): List<String> {
/**
 * This function finds the common hieroglyphs between two anthropologists' findings.
 * It returns a list containing the common hieroglyphs.
 */
fun findCommonHieroglyphs(anthropologistA: List<String>, anthropologistB: List<String>): List<String> {

    val commonHieroglyphs = mutableListOf<String>()
    
    for (glyph in anthropologistA) {
        if (glyph in anthropologistB) {
            commonHieroglyphs.add(glyph)
        }
    }
    
    return commonHieroglyphs
}