/**
 * This function takes two lists as input and returns the intersection of the elements that are greater than 0
 * using the 'greater than' (>) operator.
 *
 * @param elements1 A list of integers.
 * @param elements2 A list of integers.
 * @return A list containing the elements that are greater than 0 and present in both input lists.
 */
fun intersectionGreaterThan(elements1: List<Int>, elements2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()
    for (element1 in elements1) {
        for (element2 in elements2) {
            if (element1 > 0 && element1 == element2) {  // Using both 'greater than' (>) and 'is' operator
                intersection.add(element1)
            }
        }
    }
    return intersection
}
/**
 * This function takes two lists as input and returns the intersection of the elements that are greater than 0
 * using the 'greater than' (>) operator.
 *
 * @param elements1 A list of integers.
 * @param elements2 A list of integers.
 * @return A list containing the elements that are greater than 0 and present in both input lists.
 */
fun intersectionGreaterThan(elements1: List<Int>, elements2: List<Int>): List<Int> {
/**
 * This function takes two lists as input and returns the intersection of the elements that are greater than 0
 * using the 'greater than' (>) operator.
 *
 * @param elements1 A list of integers.
 * @param elements2 A list of integers.
 * @return A list containing the elements that are greater than 0 and present in both input lists.
 */
fun intersectionGreaterThan(elements1: List<Int>, elements2: List<Int>): List<Int> {

    val intersection = mutableListOf<Int>()
    for (element1 in elements1) {
        for (element2 in elements2) {
            if (element1 > 0 && element1 == element2) {  // Using both 'greater than' (>) and 'is' operator
                intersection.add(element1)
            }
        }
    }
    return intersection
}