#include <bits/stdc++.h>
using namespace std;
int a[1111], b[1111], suma[1111], sumb[1111];
int n, m, c1, c2, c3, c4;
int main() {
  int n, k;
  cin >> c1 >> c2 >> c3 >> c4;
  cin >> n >> m;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int j = 0; j < m; j++) cin >> b[j];
  sort(a, a + n);
  sort(b, b + m);
  for (int i = 0; i < n; i++) suma[i] = a[i] * c1;
  for (int i = 0; i < m; i++) sumb[i] = b[i] * c1;
  int sum1, sum2;
  sum1 = 0;
  sum2 = 0;
  for (int i = 0; i < n; i++) {
    if (suma[i] > c2) suma[i] = c2;
    sum1 += suma[i];
  }
  for (int i = 0; i < m; i++) {
    if (sumb[i] > c2) sumb[i] = c2;
    sum2 += sumb[i];
  }
  int tong;
  tong = 0;
  if (sum1 > c3) sum1 = c3;
  if (sum2 > c3) sum2 = c3;
  tong = sum1 + sum2;
  if (tong > c4) tong = c4;
  printf("%d", tong);
  return 0;
}
