/**
 * Given a list of actors/actresses and a multiplier, modify all elements in the list by multiplying
 * them with the multiplier.
 *
 * @param actorList list of actor/actress names
 * @param multiplier integer value to multiply the elements with
 * @return modified list of actors/actresses
 */
fun modifyElements(actorList: List<String>, multiplier: Int): List<String> {

    val modifiedList = mutableListOf<String>()
    for (actorName in actorList) {
        modifiedList.add(actorName.repeat(multiplier))
    }
    return modifiedList
}
/**
 * Given a list of actors/actresses and a multiplier, modify all elements in the list by multiplying
 * them with the multiplier.
 *
 * @param actorList list of actor/actress names
 * @param multiplier integer value to multiply the elements with
 * @return modified list of actors/actresses
 */
fun modifyElements(actorList: List<String>, multiplier: Int): List<String> {
/**
 * Given a list of actors/actresses and a multiplier, modify all elements in the list by multiplying
 * them with the multiplier.
 *
 * @param actorList list of actor/actress names
 * @param multiplier integer value to multiply the elements with
 * @return modified list of actors/actresses
 */
fun modifyElements(actorList: List<String>, multiplier: Int): List<String> {

    val modifiedList = mutableListOf<String>()
    for (actorName in actorList) {
        modifiedList.add(actorName.repeat(multiplier))
    }
    return modifiedList
}