/**
 * Given two lists of integers, lst1 and lst2, find the common integers between them.
 * This function returns a new list containing the common integers.
 */
fun findMatchingItems(lst1: List<Int>, lst2: List<Int>): List<Int> {

    val commonIntegers = mutableListOf<Int>()

    for (num1 in lst1) {
        for (num2 in lst2) {
            // Check if num1 and num2 are both positive or both negative
            if ((num1 > 0 && num2 > 0) || (num1 < 0 && num2 < 0)) {
                // Check if num1 and num2 have the same absolute value
                if (Math.abs(num1) == Math.abs(num2)) {
                    commonIntegers.add(num1)
                    break
                }
            }
        }
    }

    return commonIntegers
}
/**
 * Given two lists of integers, lst1 and lst2, find the common integers between them.
 * This function returns a new list containing the common integers.
 */
fun findMatchingItems(lst1: List<Int>, lst2: List<Int>): List<Int> {
/**
 * Given two lists of integers, lst1 and lst2, find the common integers between them.
 * This function returns a new list containing the common integers.
 */
fun findMatchingItems(lst1: List<Int>, lst2: List<Int>): List<Int> {

    val commonIntegers = mutableListOf<Int>()

    for (num1 in lst1) {
        for (num2 in lst2) {
            // Check if num1 and num2 are both positive or both negative
            if ((num1 > 0 && num2 > 0) || (num1 < 0 && num2 < 0)) {
                // Check if num1 and num2 have the same absolute value
                if (Math.abs(num1) == Math.abs(num2)) {
                    commonIntegers.add(num1)
                    break
                }
            }
        }
    }

    return commonIntegers
}