/**
 * This function takes in two lists of integers and returns a list of common numbers in the two lists.
 */
fun commonNumbers(numbers1: List<Int>, numbers2: List<Int>): List<Int> {

    val commonNumbers = mutableListOf<Int>()

    for (num1 in numbers1) {
        for (num2 in numbers2) {
            if (num1 == num2) {
                commonNumbers.add(num1)
            }
        }
    }

    return commonNumbers
}
/**
 * This function takes in two lists of integers and returns a list of common numbers in the two lists.
 */
fun commonNumbers(numbers1: List<Int>, numbers2: List<Int>): List<Int> {
/**
 * This function takes in two lists of integers and returns a list of common numbers in the two lists.
 */
fun commonNumbers(numbers1: List<Int>, numbers2: List<Int>): List<Int> {

    val commonNumbers = mutableListOf<Int>()

    for (num1 in numbers1) {
        for (num2 in numbers2) {
            if (num1 == num2) {
                commonNumbers.add(num1)
            }
        }
    }

    return commonNumbers
}