/**
 * This function takes a list and a tuple as arguments and appends the elements of the tuple to the list.
 *
 * @param numList A list of numbers.
 * @param elements A tuple containing elements.
 * @return The updated list after appending the elements of the tuple.
 */
fun addElementsToList(numList: MutableList<Int>, elements: List<Int>): List<Int> {

    numList.addAll(elements)
    return numList
}

// Example usage
/**
 * This function takes a list and a tuple as arguments and appends the elements of the tuple to the list.
 *
 * @param numList A list of numbers.
 * @param elements A tuple containing elements.
 * @return The updated list after appending the elements of the tuple.
 */
fun addElementsToList(numList: MutableList<Int>, elements: List<Int>): List<Int> {
/**
 * This function takes a list and a tuple as arguments and appends the elements of the tuple to the list.
 *
 * @param numList A list of numbers.
 * @param elements A tuple containing elements.
 * @return The updated list after appending the elements of the tuple.
 */
fun addElementsToList(numList: MutableList<Int>, elements: List<Int>): List<Int> {

    numList.addAll(elements)
    return numList
}

// Example usage