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(_.toLong).sorted(Ordering[Long].reverse)
    val qs = in.readLine().split("\\s+").map(_.toLong).sorted(Ordering[Long].reverse)
    val rs = in.readLine().split("\\s+").map(_.toLong).sorted(Ordering[Long].reverse)

    out.println((ps.take(x) ++ qs.take(y) ++ rs).sorted(Ordering[Long].reverse).take(x + y).sum)
    out.flush()
  }
}
