#include <bits/stdc++.h>
using namespace std;
int main() {
  long long c1, c2, c3, c4, n, m, i;
  long long nn[1100], mm[1100];
  long long nresult, mresult, sn, sm;
  cin >> c1 >> c2 >> c3 >> c4 >> n >> m;
  sn = 0;
  nresult = 0;
  for (i = 0; i < n; ++i) {
    cin >> nn[i];
    if (nn[i] * c1 > c2)
      nresult += c2;
    else
      nresult += nn[i] * c1;
  }
  nresult = min(c3, nresult);
  sm = 0;
  mresult = 0;
  for (i = 0; i < m; ++i) {
    cin >> mm[i];
    if (mm[i] * c1 > c2)
      mresult += c2;
    else
      mresult += mm[i] * c1;
  }
  mresult = min(c3, mresult);
  cout << min(nresult + mresult, c4);
  return 0;
}
