/**
 * This function takes two lists as input and returns the common indexes between them.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A list of common indexes between list1 and list2.
 */
fun findCommonIndexes(list1: List<Any>, list2: List<Any>): List<Int> {

    val commonIndexes = mutableListOf<Int>()

    for (i in 0 until minOf(list1.size, list2.size)) {
        if (list1[i] == list2[i]) {
            commonIndexes.add(i)
        }
    }

    return commonIndexes
}
/**
 * This function takes two lists as input and returns the common indexes between them.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A list of common indexes between list1 and list2.
 */
fun findCommonIndexes(list1: List<Any>, list2: List<Any>): List<Int> {
/**
 * This function takes two lists as input and returns the common indexes between them.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A list of common indexes between list1 and list2.
 */
fun findCommonIndexes(list1: List<Any>, list2: List<Any>): List<Int> {

    val commonIndexes = mutableListOf<Int>()

    for (i in 0 until minOf(list1.size, list2.size)) {
        if (list1[i] == list2[i]) {
            commonIndexes.add(i)
        }
    }

    return commonIndexes
}