/**
 * This function combines elements from three lists based on a certain condition
 */
fun combineLists(list1: List<Int>, list2: List<Int>, list3: List<Int>): List<Int> {

    val result = mutableListOf<Int>()
    for (i in list1.indices) {
        for (j in list2.indices) {
            for (k in list3.indices) {
                if (list1[i] > list2[j] && list2[j] > list3[k]) {
                    result.add(list1[i] + list2[j] + list3[k])
                }
            }
        }
    }
    return result
}
/**
 * This function combines elements from three lists based on a certain condition
 */
fun combineLists(list1: List<Int>, list2: List<Int>, list3: List<Int>): List<Int> {
/**
 * This function combines elements from three lists based on a certain condition
 */
fun combineLists(list1: List<Int>, list2: List<Int>, list3: List<Int>): List<Int> {

    val result = mutableListOf<Int>()
    for (i in list1.indices) {
        for (j in list2.indices) {
            for (k in list3.indices) {
                if (list1[i] > list2[j] && list2[j] > list3[k]) {
                    result.add(list1[i] + list2[j] + list3[k])
                }
            }
        }
    }
    return result
}