/**
 * Given a list of numbers, apply the multiplication assignment operator to the element at the given index using the provided factor.
 *
 * @param numbers A list of numbers.
 * @param index The index of the element to be modified.
 * @param factor The factor to multiply the element at the given index.
 * @return The modified list of numbers.
 */
fun applyMultiplicationToIndex(numbers: MutableList<Int>, index: Int, factor: Int): List<Int> {

    numbers[index] *= factor
    return numbers
}
/**
 * Given a list of numbers, apply the multiplication assignment operator to the element at the given index using the provided factor.
 *
 * @param numbers A list of numbers.
 * @param index The index of the element to be modified.
 * @param factor The factor to multiply the element at the given index.
 * @return The modified list of numbers.
 */
fun applyMultiplicationToIndex(numbers: MutableList<Int>, index: Int, factor: Int): List<Int> {
/**
 * Given a list of numbers, apply the multiplication assignment operator to the element at the given index using the provided factor.
 *
 * @param numbers A list of numbers.
 * @param index The index of the element to be modified.
 * @param factor The factor to multiply the element at the given index.
 * @return The modified list of numbers.
 */
fun applyMultiplicationToIndex(numbers: MutableList<Int>, index: Int, factor: Int): List<Int> {

    numbers[index] *= factor
    return numbers
}