import java.util.*

fun main(args : Array<String>) {
    val (x, y, a, b, c) = readLine()!!.split(" ").map { it.toInt() }

    val rr = readLine()!!.split(" ").map { it.toInt() }.sortedDescending()
    val gg = readLine()!!.split(" ").map { it.toInt() }.sortedDescending()
    val tt = readLine()!!.split(" ").map { it.toInt() }.sortedDescending()

    val tNum = Math.min(x+y, tt.size)
    val aa = PriorityQueue<Int>(x+y+tNum){ i1, i2 ->
        return@PriorityQueue i2-i1
    }
    aa.addAll(rr.take(x))
    aa.addAll(gg.take(y))
    aa.addAll(tt.take(tNum))

    var sum = 0L
    repeat(x+y) {
        sum += aa.poll()
    }

    println(sum)
}