/**
 * Given a dictionary representing economic data, this function modifies the dictionary items using negative indexing.
 *
 * @param data A dictionary containing economic data.
 * @return The modified dictionary.
 */
fun transformEconomicsData(data: Map<String, List<Any>>): Map<String, List<Any>> {

    val transformedData = mutableMapOf<String, List<Any>>()

    for ((key, value) in data) {
        transformedData[key] = value.reversed()
    }

    return transformedData
}

// Example usage
/**
 * Given a dictionary representing economic data, this function modifies the dictionary items using negative indexing.
 *
 * @param data A dictionary containing economic data.
 * @return The modified dictionary.
 */
fun transformEconomicsData(data: Map<String, List<Any>>): Map<String, List<Any>> {
/**
 * Given a dictionary representing economic data, this function modifies the dictionary items using negative indexing.
 *
 * @param data A dictionary containing economic data.
 * @return The modified dictionary.
 */
fun transformEconomicsData(data: Map<String, List<Any>>): Map<String, List<Any>> {

    val transformedData = mutableMapOf<String, List<Any>>()

    for ((key, value) in data) {
        transformedData[key] = value.reversed()
    }

    return transformedData
}

// Example usage