/**
 * This function takes in two lists of common landforms found in different regions and returns a new list
 * containing only the landforms that are common to both lists.
 *
 * @param landforms1 a list of landforms found in region 1
 * @param landforms2 a list of landforms found in region 2
 * @return A new list containing only the landforms that are common to both regions.
 */
fun findCommonLandforms(landforms1: List<String>, landforms2: List<String>): List<String> {

    val commonLandforms = mutableListOf<String>()
    for (landform1 in landforms1) {
        for (landform2 in landforms2) {
            if (landform1 == landform2) {
                commonLandforms.add(landform1)
                break
            }
        }
    }
    return commonLandforms
}
/**
 * This function takes in two lists of common landforms found in different regions and returns a new list
 * containing only the landforms that are common to both lists.
 *
 * @param landforms1 a list of landforms found in region 1
 * @param landforms2 a list of landforms found in region 2
 * @return A new list containing only the landforms that are common to both regions.
 */
fun findCommonLandforms(landforms1: List<String>, landforms2: List<String>): List<String> {
/**
 * This function takes in two lists of common landforms found in different regions and returns a new list
 * containing only the landforms that are common to both lists.
 *
 * @param landforms1 a list of landforms found in region 1
 * @param landforms2 a list of landforms found in region 2
 * @return A new list containing only the landforms that are common to both regions.
 */
fun findCommonLandforms(landforms1: List<String>, landforms2: List<String>): List<String> {

    val commonLandforms = mutableListOf<String>()
    for (landform1 in landforms1) {
        for (landform2 in landforms2) {
            if (landform1 == landform2) {
                commonLandforms.add(landform1)
                break
            }
        }
    }
    return commonLandforms
}