using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

class E {
    static StreamWriter Out = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
    static void Main(string[] args) {
        long X, Y, A, B, C;
        Input(out X, out Y, out A, out B, out C);
        long[] p, q, r;
        Inputs(out p);
        Inputs(out q);
        Inputs(out r);
        Array.Sort(p);
        Array.Sort(q);
        Array.Sort(r);
        Array.Reverse(p);
        Array.Reverse(q);
        Array.Reverse(r);
        long takep = X;
        long takeq = Y;
        long taker = 0;
        while (true) {
            long minp = 0 <= takep - 1 ? p[takep - 1] : long.MaxValue;
            long minq = 0 <= takeq - 1 ? q[takeq - 1] : long.MaxValue;
            long maxr = taker < C ? r[taker] : long.MinValue;
            bool taken = false;
            //Console.WriteLine(minp);
            //Console.WriteLine(minq);
            //Console.WriteLine(maxr);
            if (minp < minq) {
                if (minp < maxr) {
                    takep--;
                    taker++;
                    taken = true;
                }
            } else {
                if (minq < maxr) {
                    takeq--;
                    taker++;
                    taken = true;
                }
            }
            if (taken == false) {
                break;
            }
        }
        long sum = 0;
        for (long i = 0; i < takep; i++) {
            sum += p[i];
        }
        for (long i = 0; i < takeq; i++) {
            sum += q[i];
        }
        for (long i = 0; i < taker; i++) {
            sum += r[i];
        }
        Console.WriteLine(sum);
    }
    static T ChangeT<T>(string s) => (T)Convert.ChangeType(s, typeof(T));
    static void Input<A>(out A a) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
    }
    static void Input<A, B>(out A a, out B b) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
    }
    static void Input<A, B, C>(out A a, out B b, out C c) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
    }
    static void Input<A, B, C, D>(out A a, out B b, out C c, out D d) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
        d = ChangeT<D>(words[3]);
    }
    static void Input<A, B, C, D, E>(out A a, out B b, out C c, out D d, out E e) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
        d = ChangeT<D>(words[3]);
        e = ChangeT<E>(words[4]);
    }
    static void Input<A, B, C, D, E, F>(out A a, out B b, out C c, out D d, out E e, out F f) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
        d = ChangeT<D>(words[3]);
        e = ChangeT<E>(words[4]);
        f = ChangeT<F>(words[5]);
    }
    static void Inputs<T>(out T[] array) {
        array = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries).Select(s => ChangeT<T>(s)).ToArray();
    }
    static void Print<T>(T s) => Out.WriteLine(s);
    static void Print<T>(params T[] s) => Out.WriteLine(string.Join(" ", s));
    static void Print<T>(IEnumerable<T> e) => Out.WriteLine(string.Join(" ", e));
}

Measured memory_bytes: 40120