/**
 * Determine if the values at two given indexes in a tuple are equal.
 *
 * @param accountantInfo A tuple containing information related to an accountant.
 * @param index1 The first index to compare.
 * @param index2 The second index to compare.
 * @return True if the values at the given indexes are equal, False otherwise.
 */
fun compareTupleIndex(accountantInfo: List<Any>, index1: Int, index2: Int): Boolean {

    // Extract the values at the given indexes
    val value1 = accountantInfo[index1]
    val value2 = accountantInfo[index2]

    // Compare the extracted values
    return value1 == value2
}
/**
 * Determine if the values at two given indexes in a tuple are equal.
 *
 * @param accountantInfo A tuple containing information related to an accountant.
 * @param index1 The first index to compare.
 * @param index2 The second index to compare.
 * @return True if the values at the given indexes are equal, False otherwise.
 */
fun compareTupleIndex(accountantInfo: List<Any>, index1: Int, index2: Int): Boolean {
/**
 * Determine if the values at two given indexes in a tuple are equal.
 *
 * @param accountantInfo A tuple containing information related to an accountant.
 * @param index1 The first index to compare.
 * @param index2 The second index to compare.
 * @return True if the values at the given indexes are equal, False otherwise.
 */
fun compareTupleIndex(accountantInfo: List<Any>, index1: Int, index2: Int): Boolean {

    // Extract the values at the given indexes
    val value1 = accountantInfo[index1]
    val value2 = accountantInfo[index2]

    // Compare the extracted values
    return value1 == value2
}