#include <bits/stdc++.h>
int main() {
  int c1, c2, c3, c4, count = 0, a[1000], m, n, i, final = 0;
  scanf("%d %d %d %d", &c1, &c2, &c3, &c4);
  scanf("%d %d", &n, &m);
  for (i = 0; i < n; ++i) {
    scanf("%d", &a[i]);
    count += ((a[i] * c1) > c2) ? c2 : (a[i] * c1);
  }
  final += (count > c3) ? c3 : count;
  count = 0;
  for (i = 0; i < m; ++i) {
    scanf("%d", &a[i]);
    count += ((a[i] * c1) > c2) ? c2 : (a[i] * c1);
  }
  final += (count > c3) ? c3 : count;
  if (final > c4) final = c4;
  printf("%d", final);
  return 0;
}
