#include <bits/stdc++.h>
using namespace std;

#define ll long long

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);

	int x, y, a, b, c;
	cin >> x >> y >> a >> b >> c;

	int aa[a], bb[b], cc[c + x + y];
	for (int i = 0; i < a; ++i) cin >> aa[i];
	for (int i = 0; i < b; ++i) cin >> bb[i];
	for (int i = 0; i < c; ++i) cin >> cc[i];

	sort(aa, aa + a, greater<int>());
	sort(bb, bb + b, greater<int>());

	for (int i = 0; i < x; ++i) cc[c + i] = aa[i];
	for (int i = 0; i < y; ++i) cc[c + x + i] = bb[i];

	sort(cc, cc + c + x + y, greater<int>());

	cout << accumulate(cc, cc + x + y, 0LL);
}
