
import java.util.*
data class Apple(val color:Int, val taste:Long)
fun main(args:Array<String>) {
    val (x,y,a,b,c) = readLine()!!.split(" ").map { it.toInt() }
    val reds = readLine()!!.split(" ").map { it.toLong() }
    val greens = readLine()!!.split(" ").map { it.toLong() }
    val nonColor = readLine()!!.split(" ").map { it.toLong() }

    val list = Array(a+b+c){Apple(0,0)}
    var idx = 0
    for(t in reds) {
        list[idx++] = Apple(0, t)
    }
    for(t in greens) {
        list[idx++] = Apple(1, t)
    }
    for(t in nonColor) {
        list[idx++] = Apple(2, t)
    }

    var redCnt = 0
    var greenCnt = 0
    var ans = 0L
    var cnt = 0
    var pos = 0

    list.sortByDescending { it.taste }

    while (cnt < x + y) {
        val (color, delicious) = list[pos++]
        if(color == 0 && redCnt >= x) continue
        if(color == 1 && greenCnt >= y) continue
        ans += delicious
        if(color == 0) ++redCnt
        if(color == 1) ++ greenCnt
        ++cnt
    }


    print(ans)
}