/**
 * Given two lists, concatenate them and return a new list with all elements sorted in descending order.
 *
 * Example:
 * combineLists(listOf(4, 8, 2), listOf(6, 3, 9)) -> [9, 8, 6, 4, 3, 2]
 *
 * @param list1 First list.
 * @param list2 Second list.
 * @return Combined list with elements sorted in descending order.
 */
fun combineLists(list1: List<Int>, list2: List<Int>): List<Int> {

    val combinedList = list1 + list2
    return combinedList.sortedDescending()
}
/**
 * Given two lists, concatenate them and return a new list with all elements sorted in descending order.
 *
 * Example:
 * combineLists(listOf(4, 8, 2), listOf(6, 3, 9)) -> [9, 8, 6, 4, 3, 2]
 *
 * @param list1 First list.
 * @param list2 Second list.
 * @return Combined list with elements sorted in descending order.
 */
fun combineLists(list1: List<Int>, list2: List<Int>): List<Int> {
/**
 * Given two lists, concatenate them and return a new list with all elements sorted in descending order.
 *
 * Example:
 * combineLists(listOf(4, 8, 2), listOf(6, 3, 9)) -> [9, 8, 6, 4, 3, 2]
 *
 * @param list1 First list.
 * @param list2 Second list.
 * @return Combined list with elements sorted in descending order.
 */
fun combineLists(list1: List<Int>, list2: List<Int>): List<Int> {

    val combinedList = list1 + list2
    return combinedList.sortedDescending()
}