/**
 * This function finds the intersection of two sets of positive integers by performing subtraction.
 *
 * @param numbers1 the first set of positive integers
 * @param numbers2 the second set of positive integers
 * @return a list containing the intersection of the two sets of positive integers
 */
fun findIntersection(numbers1: List<Int>, numbers2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()
    for (num1 in numbers1) {
        for (num2 in numbers2) {
            val difference = num1 - num2
            // Only positive differences are considered
            if (difference > 0 && difference !in intersection) {
                intersection.add(difference)
            }
        }
    }
    return intersection
}
/**
 * This function finds the intersection of two sets of positive integers by performing subtraction.
 *
 * @param numbers1 the first set of positive integers
 * @param numbers2 the second set of positive integers
 * @return a list containing the intersection of the two sets of positive integers
 */
fun findIntersection(numbers1: List<Int>, numbers2: List<Int>): List<Int> {
/**
 * This function finds the intersection of two sets of positive integers by performing subtraction.
 *
 * @param numbers1 the first set of positive integers
 * @param numbers2 the second set of positive integers
 * @return a list containing the intersection of the two sets of positive integers
 */
fun findIntersection(numbers1: List<Int>, numbers2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()
    for (num1 in numbers1) {
        for (num2 in numbers2) {
            val difference = num1 - num2
            // Only positive differences are considered
            if (difference > 0 && difference !in intersection) {
                intersection.add(difference)
            }
        }
    }
    return intersection
}