/**
 * Given two lists, find and return the common elements between them.
 *
 * @param lst1 the first input list
 * @param lst2 the second input list
 * @return a list containing the common elements between lst1 and lst2
 *
 * Example:
 * findCommonElements(listOf(1, 2, 3, 4), listOf(3, 4, 5, 6)) -> listOf(3, 4)
 */
fun findCommonElements(lst1: List<Int>, lst2: List<Int>): List<Int> {

    return lst1.filter { it in lst2 }
}
/**
 * Given two lists, find and return the common elements between them.
 *
 * @param lst1 the first input list
 * @param lst2 the second input list
 * @return a list containing the common elements between lst1 and lst2
 *
 * Example:
 * findCommonElements(listOf(1, 2, 3, 4), listOf(3, 4, 5, 6)) -> listOf(3, 4)
 */
fun findCommonElements(lst1: List<Int>, lst2: List<Int>): List<Int> {
/**
 * Given two lists, find and return the common elements between them.
 *
 * @param lst1 the first input list
 * @param lst2 the second input list
 * @return a list containing the common elements between lst1 and lst2
 *
 * Example:
 * findCommonElements(listOf(1, 2, 3, 4), listOf(3, 4, 5, 6)) -> listOf(3, 4)
 */
fun findCommonElements(lst1: List<Int>, lst2: List<Int>): List<Int> {

    return lst1.filter { it in lst2 }
}