/**
 * This function takes two dictionaries as input and returns a list of positive integers that represents the keys
 * which are common in both dictionaries.
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of positive integers representing the shared keys.
 */
fun findSharedKeys(dictionary1: Map<Int, Any>, dictionary2: Map<Int, Any>): List<Int> {

    val sharedKeys = mutableListOf<Int>()
    for (key1 in dictionary1.keys) {
        if (key1 > 0) {
            for (key2 in dictionary2.keys) {
                if (key2 > 0 && key1 == key2) {
                    sharedKeys.add(key1)
                    break
                }
            }
        }
    }
    return sharedKeys
}
/**
 * This function takes two dictionaries as input and returns a list of positive integers that represents the keys
 * which are common in both dictionaries.
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of positive integers representing the shared keys.
 */
fun findSharedKeys(dictionary1: Map<Int, Any>, dictionary2: Map<Int, Any>): List<Int> {
/**
 * This function takes two dictionaries as input and returns a list of positive integers that represents the keys
 * which are common in both dictionaries.
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of positive integers representing the shared keys.
 */
fun findSharedKeys(dictionary1: Map<Int, Any>, dictionary2: Map<Int, Any>): List<Int> {

    val sharedKeys = mutableListOf<Int>()
    for (key1 in dictionary1.keys) {
        if (key1 > 0) {
            for (key2 in dictionary2.keys) {
                if (key2 > 0 && key1 == key2) {
                    sharedKeys.add(key1)
                    break
                }
            }
        }
    }
    return sharedKeys
}