#include<bits/stdc++.h>
#define rep(i, n) for (int i =0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using namespace std;

int main() {
	int x,y,a,b,c;cin>>x>>y>>a>>b>>c;
  vector<int64_t> p(a),q(b),r(c);
  rep(i,a)cin>>p[i];
  rep(i,b)cin>>q[i];
  rep(i,c)cin>>r[i];
  sort(all(p),greater<int64_t>());
  sort(all(q),greater<int64_t>());
  
  vector<int64_t> s(x+y+c);
  rep(i,x)s[i]=p[i];
  rep(i,y)s[x+i]=q[i];
  rep(i,c)s[x+y+i]=r[i];
  sort(all(s),greater<int64_t>());

  int64_t sum=0;
  rep(i,x+y)sum+=s[i];

  cout<<sum;
  
  

}