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() }

    fun List<Long>.takeLarger(take: Int) = this.sortedDescending().take(take)

    val answer = (pList.takeLarger(x) + qList.takeLarger(y) + rList).takeLarger(x + y).sum()

    println(answer)
}
