fun main(args: Array<String>) = ABC160E.main()

object ABC160E {
    fun main() {
        val (X, Y, A, B, C) = readInts()
        val p = readLongs()
        val q = readLongs()
        val r = readLongs()

        val red = p.sorted().takeLast(X)
        val green = q.sorted().takeLast(Y)
        val non = r

        val all = red + green + non
        val eats = all.sorted().takeLast(X+Y)
        val ans = eats.sum()
        println(ans)
    }


    /*####################################################################################*/

    fun readInts() = readLine()!!.split(" ").map { it.toInt() }
    fun readLongs() = readLine()!!.split(" ").map { it.toLong() }
}