/**
 * Create a function that returns the value of an item in the dictionary that is not equal to a given key.
 *
 * @param dictionary The dictionary to search in.
 * @param itemKey The key to compare the values against.
 * @return The value of the item in the dictionary that is not equal to the given key.
 *
 * Examples:
 * val myDict = mapOf("a" to 1, "b" to 2, "c" to 3)
 * getNotEqualItem(myDict, "b") // Returns "1"
 *
 * val myDict = mapOf("x" to "apple", "y" to "banana", "z" to "pear")
 * getNotEqualItem(myDict, "pear") // Returns "apple"
 */
fun getNotEqualItem(dictionary: Map<String, Any>, itemKey: String): String {

    for ((key, value) in dictionary) {
        if (value != itemKey) {
            return value.toString()
        }
    }
    return "" // Or you can throw an exception if no not equal item is found, based on your requirement.
}
/**
 * Create a function that returns the value of an item in the dictionary that is not equal to a given key.
 *
 * @param dictionary The dictionary to search in.
 * @param itemKey The key to compare the values against.
 * @return The value of the item in the dictionary that is not equal to the given key.
 *
 * Examples:
 * val myDict = mapOf("a" to 1, "b" to 2, "c" to 3)
 * getNotEqualItem(myDict, "b") // Returns "1"
 *
 * val myDict = mapOf("x" to "apple", "y" to "banana", "z" to "pear")
 * getNotEqualItem(myDict, "pear") // Returns "apple"
 */
fun getNotEqualItem(dictionary: Map<String, Any>, itemKey: String): String {
/**
 * Create a function that returns the value of an item in the dictionary that is not equal to a given key.
 *
 * @param dictionary The dictionary to search in.
 * @param itemKey The key to compare the values against.
 * @return The value of the item in the dictionary that is not equal to the given key.
 *
 * Examples:
 * val myDict = mapOf("a" to 1, "b" to 2, "c" to 3)
 * getNotEqualItem(myDict, "b") // Returns "1"
 *
 * val myDict = mapOf("x" to "apple", "y" to "banana", "z" to "pear")
 * getNotEqualItem(myDict, "pear") // Returns "apple"
 */
fun getNotEqualItem(dictionary: Map<String, Any>, itemKey: String): String {

    for ((key, value) in dictionary) {
        if (value != itemKey) {
            return value.toString()
        }
    }
    return "" // Or you can throw an exception if no not equal item is found, based on your requirement.
}