import java.io._
import java.util.StringTokenizer
import scala.util.control.Breaks.{breakable,break}
import scala.collection.mutable.{Map, Stack, Queue, PriorityQueue, Set}

object Main extends App {
  val in = new InputReader(System.in)
  val pw = new PrintWriter(System.out)

  val X, Y = in.next().toInt
  val A, B, C = in.next().toInt
  val p = new Array[Long](A+1)
  val q = new Array[Long](B+1)
  val r = new Array[Long](C+1)
  for (i <- 1 to A)
    p(i) = in.next().toLong
  for (i <- 1 to B)
    q(i) = in.next().toLong
  for (i <- 1 to C)
    r(i) = in.next().toLong


  //
  val p1 = p.sorted.reverse.take(X)
  val q1 = q.sorted.reverse.take(Y)

  val ans = (p1 ++ q1 ++ r).sorted.reverse.take(X+Y).sum
  println(ans)
}

class InputReader(stream: InputStream) {
  private[this] val reader = new BufferedReader(new InputStreamReader(stream))
  private[this] var tokenizer: StringTokenizer = new StringTokenizer(reader.readLine())
  def next(): String = {
    while (!tokenizer.hasMoreTokens()) {
      tokenizer = new StringTokenizer(reader.readLine())
    }
    tokenizer.nextToken()
  }
}
