#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int c1, c2, c3, c4, n, m, total = 0;
  long long int type11 = 0, type12 = 0, type31 = 0;
  long long int type21 = 0, type22 = 0, type32 = 0, type4 = 0, i;
  cin >> c1 >> c2 >> c3 >> c4;
  cin >> n >> m;
  int a[n], b[m];
  for (i = 0; i < n; i++) {
    cin >> a[i];
    type11 += a[i];
  }
  for (i = 0; i < m; i++) {
    cin >> b[i];
    type12 += b[i];
  }
  for (i = 0; i < n; i++) {
    if (a[i] * c1 >= c2) {
      type11 -= a[i];
      type21++;
    }
  }
  for (i = 0; i < m; i++) {
    if (b[i] * c1 >= c2) {
      type12 -= b[i];
      type22++;
    }
  }
  total = type11 * c1 + type21 * c2;
  if (c3 < total) {
    type11 = 0;
    type21 = 0;
    type31 = 1;
  }
  total = type12 * c1 + type22 * c2;
  if (c3 < total) {
    type12 = 0;
    type22 = 0;
    type32 = 1;
  }
  total =
      (type11 + type12) * c1 + (type21 + type22) * c2 + (type31 + type32) * c3;
  if (total > c4) {
    type11 = 0;
    type12 = 0;
    type31 = 0;
    type21 = 0;
    type22 = 0;
    type32 = 0;
    type4 = 1;
  }
  total = (type11 + type12) * c1 + (type21 + type22) * c2 +
          (type31 + type32) * c3 + type4 * c4;
  cout << total << endl;
  return 0;
}
