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

    while(ps(pi) < rs(ri) || qs(qi) < rs(ri)) {
      if (ps(pi) < qs(qi)) {
        result = result - ps(pi) + rs(ri)
        pi = Math.max(0, pi - 1)
      } else {
        result = result - qs(qi) + rs(ri)
        qi = Math.max(0, qi - 1)
      }
      ri = Math.min(rs.length - 1, ri + 1)
    }

    out.println(result)

    out.flush()
  }
}
