/**
 * Given a list of n elements, modify the list by setting all elements at odd indices to 0
 * and return the updated list.
 *
 * @param n Number of elements in the list
 * @param lst List of elements
 * @return Updated list with elements at odd indices set to 0
 */
fun intersectionEconomist(n: Int, lst: MutableList<Int>): List<Int> {

    for (i in 1 until n step 2) {
        lst[i] = 0
    }
    return lst
}
/**
 * Given a list of n elements, modify the list by setting all elements at odd indices to 0
 * and return the updated list.
 *
 * @param n Number of elements in the list
 * @param lst List of elements
 * @return Updated list with elements at odd indices set to 0
 */
fun intersectionEconomist(n: Int, lst: MutableList<Int>): List<Int> {
/**
 * Given a list of n elements, modify the list by setting all elements at odd indices to 0
 * and return the updated list.
 *
 * @param n Number of elements in the list
 * @param lst List of elements
 * @return Updated list with elements at odd indices set to 0
 */
fun intersectionEconomist(n: Int, lst: MutableList<Int>): List<Int> {

    for (i in 1 until n step 2) {
        lst[i] = 0
    }
    return lst
}