import java.util.*

fun main(args: Array<String>) = abc160e()

fun abc160e() {
    val (x, y, a, b, c) = readLine()!!.split(' ').map { it.toInt() }
    val pList = readLine()!!.split(' ').map { it.toLong() }
    val qList = readLine()!!.split(' ').map { it.toLong() }
    val rList = readLine()!!.split(' ').map { it.toLong() }

    val redQueue = PriorityQueue<Long>(a)
    redQueue.addAll(pList.sortedDescending().take(x))
    val greenQueue = PriorityQueue<Long>(b)
    greenQueue.addAll(qList.sortedDescending().take(y))

    for (r in rList.sortedDescending()) {
        val redMin = redQueue.peek()
        val greenMin = greenQueue.peek()
        if (redMin < greenMin) {
            redQueue.poll()
            redQueue.add(Math.max(r, redMin))
        } else {
            greenQueue.poll()
            greenQueue.add(Math.max(r, greenMin))
        }
    }

    val answer = redQueue.sum() + greenQueue.sum()

    println(answer)
}
