How to perform 'Union' in Kotlin.
// Task: Union
// Language: Kotlin
fun union() {
// Implementation for Union
val result = ...; // Initialize variable
// TODO: Implement core logic here
// Step 1: Prepare data
// Step 2: Process Union
println("Done");
}