#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {//解説動画の写し
  int X,Y,A,B,C;
  cin >>X>>Y>>A>>B>>C;
  vector<int>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(p.rbegin(),p.rend());
  sort(q.rbegin(),q.rend());
  vector<int> d;
  rep(i,X)d.push_back(p[i]);
  rep(i,Y)d.push_back(q[i]);
  rep(i,C)d.push_back(r[i]);
  sort(d.rbegin(),d.rend());
  long long kotae=0;
  rep(i,X+Y)kotae+=(d[i]);
  cout<<kotae<<endl;
  return 0;
}