#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <stdlib.h>     /* srand, rand */
#include <time.h>       /* time */
#define mt make_tuple
#define ll long long
#define ld long double
#define eb emplace_back
#define fi first
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)
#define scanVec(vec , n) for(int i = 0; i < n ; i++){ cin >> vec[i];}
#define printVec(vec , n) for(int i = 0; i < n ; i++){ cout<<vec[i]<<" ";}
#define mod(a,b) ((a%b +b)%b)
#define bit(x,i) (x&(1<<i))  //select the bit of position i of x
#define lowbit(x) ((x)&((x)^((x)-1))) //get the lowest bit of x
#define hBit(msb,n) asm("bsrl %1,%0" : "=r"(msb) : "r"(n)) //get the highest bit of x, maybe the fastest
#define max(a,b) (a<b?b:a)
#define min(a,b) (a>b?b:a) 
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
#define IN(i,l,r) (l<i&&i<r)
#define LINR(i,l,r) (l<=i&&i<=r)
#define LIN(i,l,r) (l<=i&&i<r)
#define INR(i,l,r) (l<i&&i<=r)
#define lastEle(vec) vec[vec.size()-1] 
#define SZ(x) ((int)((x).size()))
#define FOREACH(i,t) for (typeof(t.begin()) i=t.begin(); i!=t.end(); i++) 
#define ll long long 
#define ull unsigned long long
#define ui unsigned int
#define us unsigned short
#define INF 1001001001
#define PI 3.1415926535897932384626
 
using namespace std;
 using namespace __gnu_pbds;
 template <typename T>
 using ordered_set =
    tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
 
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pii> vpi;
typedef vector<vi> vvi;
 
void err(istream_iterator<string> it) {}
template<typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args) {
    cerr << *it << " = " << a << endl;
    err(++it, args...);
}
 
//----------------------------------------------------------------------------------------------------------------------
  
void swap(int & a, int & b){
    auto temp = a;
    a = b;
    b = temp;
}
 
const ll MOD = 1e9 + 7;
 
ll inf = 1LL*1e11;
 
void no(){
    cout <<"NO" << endl;exit(0);
}
void yes(){
    cout <<"YES" << endl; exit(0);
}

const int MAXN = 2*1e3 + 10;


void solve(){
    int x,y,a,b,c;
    cin >> x >> y >> a >> b >> c;
    multiset< int > reds;
    for(int i = 0;i < a;i++){
        int curr; 
        cin >> curr;
        if(i < x) {
            reds.insert(curr);
        }else{
            if(reds.lower_bound(curr) != reds.begin()){
                reds.erase(reds.begin());
                reds.insert(curr);
            }
        }
    }
    multiset< int > greens;
    for(int i = 0;i < b;i++){
        int curr; cin >> curr;
        if(i < y) {
            greens.insert(curr);
        }else{
            if(greens.lower_bound(curr) != greens.begin()){
                greens.erase(greens.begin());
                greens.insert(curr);
            }
        }
    }
    vector< int > cols (c); scanVec(cols,c);
    sort(rall(cols));
    for(int i = 0;i < c;i++){
        bool red = (reds.lower_bound(cols[i]) != reds.begin());
        bool green = (greens.lower_bound(cols[i]) != greens.begin());
        if(red && green){
            int rd = *reds.begin();
            int gr = *greens.begin();
            if(gr > rd){
                reds.erase(reds.begin());
                reds.insert(cols[i]);
            }else{
                greens.erase(greens.begin());
                greens.insert(cols[i]);
            }
        }else if (green){
            greens.erase(greens.begin());
            greens.insert(cols[i]);
        }else if(red){
            reds.erase(reds.begin());
             reds.insert(cols[i]);
        }
    }



    ll ans = 0;
    for(auto it : reds) ans += it;
    for(auto it : greens) ans += it;
    cout << ans << endl;
} 
int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t;
    t = 1;
    while(t--) solve();
    return 0;
} 


Measured memory_bytes: 9088