/**
 * Given a list of elements and a change value, update each element in the list by adding the change value to it.
 *
 * @param elements A list of elements
 * @param change A number representing the value to add to each element
 * @return The updated list of elements
 */
fun changeElements(elements: MutableList<Int>, change: Int): List<Int> {

    for (i in elements.indices) {
        elements[i] += change
    }
    return elements
}
/**
 * Given a list of elements and a change value, update each element in the list by adding the change value to it.
 *
 * @param elements A list of elements
 * @param change A number representing the value to add to each element
 * @return The updated list of elements
 */
fun changeElements(elements: MutableList<Int>, change: Int): List<Int> {
/**
 * Given a list of elements and a change value, update each element in the list by adding the change value to it.
 *
 * @param elements A list of elements
 * @param change A number representing the value to add to each element
 * @return The updated list of elements
 */
fun changeElements(elements: MutableList<Int>, change: Int): List<Int> {

    for (i in elements.indices) {
        elements[i] += change
    }
    return elements
}