import java.io.{BufferedOutputStream, BufferedReader, InputStreamReader, PrintWriter}

object Main {
  def main(args: Array[String]): Unit = {
    val in = new BufferedReader(new InputStreamReader(System.in))
    val out = new PrintWriter(new BufferedOutputStream(System.out))
    val Array(x, y, a, b, c) = in.readLine().split("\\s+").map(_.toInt)
    val ps = in.readLine().split("\\s+").map(_.toInt).sorted(Ordering[Int].reverse)
    val qs = in.readLine().split("\\s+").map(_.toInt).sorted(Ordering[Int].reverse)
    val rs = in.readLine().split("\\s+").map(_.toInt).sorted(Ordering[Int].reverse)

    var result = 0L
    for (i <- 0 until x) {
      result += ps(i)
    }
    for (i <- 0 until y) {
      result += qs(i)
    }

    var pi = x - 1
    var qi = y - 1
    var ri = 0
    var break = false

    while (!break) {
      if ((pi < 0 || ps(pi) > rs(ri)) && (qi < 0 || qs(qi) > rs(ri))) {
        break = true
      } else if (pi >= 0 && (qi < 0 || ps(pi) < qs(qi))) {
        result = result - ps(pi) + rs(ri)
        pi -= 1
      } else if (qi >= 0 && (pi < 0 || ps(pi) > qs(qi))) {
        result = result - qs(qi) + rs(ri)
        qi -= 1
      } else {
        break = true
      }
      ri += 1
      if (ri == rs.length) {
        break = true
      }
    }

    out.println(result)

    out.flush()
  }
}
