#include <iostream>
#include <algorithm>
#include <vector>
#include <math.h>

#define ll long long
#define pb push_back
#define for(i,a,b) for(ll i=a;i<b;i++)

using namespace std;


int main(void)
{
    ll x,y,a,b,c,s=0;
    scanf("%lld %lld %lld %lld %lld",&x,&y,&a,&b,&c);
    ll R[a],G[b];
    vector<ll>C;
    for(i,0,a) {scanf("%lld",&R[i]);}
    for(i,0,b) {scanf("%lld",&G[i]);}
    for(i,0,c) {ll z; scanf("%lld",&z); C.pb(z);}
    sort(R,R+a,greater<ll>()); sort(G,G+b,greater<ll>());
    for(i,0,x) {C.pb(R[i]); }
    for(i,0,y) {C.pb(G[i]); }
    sort(C.rbegin(),C.rend());
    for(i,0,x+y) s+=C[i];
    printf("%lld",s);
}
