#include <bits/stdc++.h>
using namespace std;
int main()
{
	int x,y,a,b,c;cin>>x>>y>>a>>b>>c;
	int t1[a];for(int &i:t1) cin>>i; sort(t1,t1+a,greater<int>());
	int t2[b];for(int &i:t2) cin>>i; sort(t2,t2+b,greater<int>());
	int t3[c];for(int &i:t3) cin>>i; sort(t3,t3+c,greater<int>());
	vector<int> v;
	for(int i=0;i<x;i++) v.push_back(t1[i]);
	for(int i=0;i<y;i++) v.push_back(t2[i]);
	for(int i=0;i<c;i++) v.push_back(t3[i]);
	sort(v.begin(),v.end(),greater<int>());
	cout<<accumulate(v.begin(),v.begin()+x+y,0LL);
	return 0;
}