/**
 * Check the conditions of the given values.
 *
 * The function takes three arguments: a, b, and c. It checks if a and b are equal and c is not equal to any of them.
 * If all conditions are satisfied, it returns true; otherwise, it returns false.
 *
 * @param a Value to be checked.
 * @param b Value to be checked.
 * @param c Value to be checked.
 * @return true if all conditions are satisfied, false otherwise.
 */
fun checkConditions(a: Any, b: Any, c: Any): Boolean {

    return a == b && c !in setOf(a, b)
}
/**
 * Check the conditions of the given values.
 *
 * The function takes three arguments: a, b, and c. It checks if a and b are equal and c is not equal to any of them.
 * If all conditions are satisfied, it returns true; otherwise, it returns false.
 *
 * @param a Value to be checked.
 * @param b Value to be checked.
 * @param c Value to be checked.
 * @return true if all conditions are satisfied, false otherwise.
 */
fun checkConditions(a: Any, b: Any, c: Any): Boolean {
/**
 * Check the conditions of the given values.
 *
 * The function takes three arguments: a, b, and c. It checks if a and b are equal and c is not equal to any of them.
 * If all conditions are satisfied, it returns true; otherwise, it returns false.
 *
 * @param a Value to be checked.
 * @param b Value to be checked.
 * @param c Value to be checked.
 * @return true if all conditions are satisfied, false otherwise.
 */
fun checkConditions(a: Any, b: Any, c: Any): Boolean {

    return a == b && c !in setOf(a, b)
}