"use strict";
var input=require("fs").readFileSync("/dev/stdin","utf8");
var cin=input.split(/ |\n/),cid=0;
function next(a){return a?cin[cid++]:+cin[cid++];}
function nexts(n,a){return a?cin.slice(cid,cid+=n):cin.slice(cid,cid+=n).map(a=>+a);}
function nextm(h,w,a){var r=[],i=0;if(a)for(;i<h;i++)r.push(cin.slice(cid,cid+=w));else for(;i<h;i++)r.push(cin.slice(cid,cid+=w).map(a=>+a));return r;}
function xArray(v){var a=arguments,l=a.length,r="Array(a["+--l+"]).fill().map(x=>{return "+v+";})";while(--l)r="Array(a["+l+"]).fill().map(x=>"+r+")";return eval(r);}

function mul(){for(var a=arguments,r=a[0],i=a.length;--i;)r=((r>>16)*a[i]%mod*65536+(r&65535)*a[i])%mod;return r;}
var myOut = main();
if(myOut !== undefined)console.log(myOut);

function main(){
  var x = next(), y = next(), a = next(), b = next(), c = next();
  var p = nexts(a).sort((a,b)=> b-a);
  var q = nexts(b).sort((a,b)=> b-a);
  var r = nexts(c).sort((a,b)=> b-a);
  var z = [];
  for(var i = 0; i < x; i++)z.push(p[i]);
  for(var i = 0; i < y; i++)z.push(q[i]);
  z.sort((a,b)=> b-a);
  var id = x+y-1;
  for(var i = 0; i < c && id >= 0; i++, id--){
    if(z[id] < r[i])z[id] = r[i];
    else break;
  }
  return z.reduce((a,b)=>a+b);
}