/**
 * Given two lists, a and b, find the intersection of the two lists using the OR operator.
 *
 * @param a First list of elements.
 * @param b Second list of elements.
 * @return Intersection of the two input lists.
 *
 * Example:
 * intersectionOrUsage(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8)) // [4, 5]
 */
fun intersectionOrUsage(a: List<Int>, b: List<Int>): List<Int> {

    return (a.toSet() union b.toSet()).toList()
}
/**
 * Given two lists, a and b, find the intersection of the two lists using the OR operator.
 *
 * @param a First list of elements.
 * @param b Second list of elements.
 * @return Intersection of the two input lists.
 *
 * Example:
 * intersectionOrUsage(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8)) // [4, 5]
 */
fun intersectionOrUsage(a: List<Int>, b: List<Int>): List<Int> {
/**
 * Given two lists, a and b, find the intersection of the two lists using the OR operator.
 *
 * @param a First list of elements.
 * @param b Second list of elements.
 * @return Intersection of the two input lists.
 *
 * Example:
 * intersectionOrUsage(listOf(1, 2, 3, 4, 5), listOf(4, 5, 6, 7, 8)) // [4, 5]
 */
fun intersectionOrUsage(a: List<Int>, b: List<Int>): List<Int> {

    return (a.toSet() union b.toSet()).toList()
}