/**
 * Given a list and a set of indices, this function multiplies the elements at the specified indices with 10.
 *
 * @param lst The list containing elements. (MutableList<Int>)
 * @param indices The set of indices to multiply. (Set<Int>)
 * @return The modified list with multiplied elements at specified indices.
 */
fun getMultipliedElements(lst: MutableList<Int>, indices: Set<Int>): MutableList<Int> {

    for (index in indices) {
        try {
            lst[index] = lst[index] * 10
        } catch (e: IndexOutOfBoundsException) {
            // Ignore indices that are out of range
        }
    }
    return lst
}
/**
 * Given a list and a set of indices, this function multiplies the elements at the specified indices with 10.
 *
 * @param lst The list containing elements. (MutableList<Int>)
 * @param indices The set of indices to multiply. (Set<Int>)
 * @return The modified list with multiplied elements at specified indices.
 */
fun getMultipliedElements(lst: MutableList<Int>, indices: Set<Int>): MutableList<Int> {
/**
 * Given a list and a set of indices, this function multiplies the elements at the specified indices with 10.
 *
 * @param lst The list containing elements. (MutableList<Int>)
 * @param indices The set of indices to multiply. (Set<Int>)
 * @return The modified list with multiplied elements at specified indices.
 */
fun getMultipliedElements(lst: MutableList<Int>, indices: Set<Int>): MutableList<Int> {

    for (index in indices) {
        try {
            lst[index] = lst[index] * 10
        } catch (e: IndexOutOfBoundsException) {
            // Ignore indices that are out of range
        }
    }
    return lst
}