/**
 * Modify the elements of a list by adding a specific value to each element.
 *
 * @param elements A list of elements.
 * @param value The value to be added to each element of the list.
 * @return The modified list with the added value to each element.
 */
fun modifyList(elements: MutableList<Int>, value: Int): List<Int> {

    for (i in elements.indices) {
        elements[i] += value
    }
    return elements
}
/**
 * Modify the elements of a list by adding a specific value to each element.
 *
 * @param elements A list of elements.
 * @param value The value to be added to each element of the list.
 * @return The modified list with the added value to each element.
 */
fun modifyList(elements: MutableList<Int>, value: Int): List<Int> {
/**
 * Modify the elements of a list by adding a specific value to each element.
 *
 * @param elements A list of elements.
 * @param value The value to be added to each element of the list.
 * @return The modified list with the added value to each element.
 */
fun modifyList(elements: MutableList<Int>, value: Int): List<Int> {

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