/**
 * Write a function that takes in two lists and returns the common elements between them.
 */
fun findCommonElements(list1: List<Int>, list2: List<Int>): List<Int> {

    val commonElements = list1.filter { it in list2 }
    return commonElements
}
/**
 * Write a function that takes in two lists and returns the common elements between them.
 */
fun findCommonElements(list1: List<Int>, list2: List<Int>): List<Int> {
/**
 * Write a function that takes in two lists and returns the common elements between them.
 */
fun findCommonElements(list1: List<Int>, list2: List<Int>): List<Int> {

    val commonElements = list1.filter { it in list2 }
    return commonElements
}