fun main(args: Array<String>) {
    solve(java.util.Scanner(System.`in`))
}

fun sumList(a: Iterable<Long>): List<Long> {
    val result = mutableListOf(0L)
    var i = 0L
    a.forEach {
        i += it
        result.add(i)
    }
    return result
}

fun solve(sc: java.util.Scanner) {
    val X = sc.nextInt()
    val Y = sc.nextInt()
    val A = sc.nextInt()
    val B = sc.nextInt()
    val C = sc.nextInt()
    val P = Array(A) { sc.nextLong() }.sorted().reversed()
    val Q = Array(B) { sc.nextLong() }.sorted().reversed()
    val R = Array(C) { sc.nextLong() }.sorted().reversed()

    val RR = (P.take(X) + Q.take(Y) + R).sorted().reversed()
    val ans = RR.take(X +Y).sum()!!

    println(ans)
}