/**
 * This function takes two lists as input and returns the intersection of the two lists.
 *
 * @param list1 The first list
 * @param list2 The second list
 * @return Intersection of list1 and list2
 *
 * Example:
 * getIntersection(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8)) // [4, 5]
 * getIntersection(listOf(10, 20, 30, 40, 50), listOf(30, 40, 50, 60, 70)) // [30, 40, 50]
 */
fun getIntersection(list1: List<Int>, list2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()
    // TODO: Write code to find the intersection of the two lists
    return intersection
}
/**
 * This function takes two lists as input and returns the intersection of the two lists.
 *
 * @param list1 The first list
 * @param list2 The second list
 * @return Intersection of list1 and list2
 *
 * Example:
 * getIntersection(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8)) // [4, 5]
 * getIntersection(listOf(10, 20, 30, 40, 50), listOf(30, 40, 50, 60, 70)) // [30, 40, 50]
 */
fun getIntersection(list1: List<Int>, list2: List<Int>): List<Int> {
/**
 * This function takes two lists as input and returns the intersection of the two lists.
 *
 * @param list1 The first list
 * @param list2 The second list
 * @return Intersection of list1 and list2
 *
 * Example:
 * getIntersection(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8)) // [4, 5]
 * getIntersection(listOf(10, 20, 30, 40, 50), listOf(30, 40, 50, 60, 70)) // [30, 40, 50]
 */
fun getIntersection(list1: List<Int>, list2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()
    // TODO: Write code to find the intersection of the two lists
    return intersection
}