#include <bits/stdc++.h>
using namespace std;
int main() {
  int c1, c2, c3, c4, n, m, a[1002], b[1002], temp;
  bool bus = false, trolley = false;
  int minCost, cost12b = 0, cost12t = 0, cost3 = 0, minCost123b, minCost123t;
  cin >> c1 >> c2 >> c3 >> c4 >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    cost12b += min(a[i] * c1, c2);
    if (a[i] > 0) {
      bus = true;
    }
  }
  minCost123b = min(cost12b, c3);
  for (int i = 0; i < m; i++) {
    cin >> b[i];
    cost12t += min(b[i] * c1, c2);
    if (b[i] > 0) {
      trolley = true;
    }
  }
  minCost123t = min(cost12t, c3);
  minCost = min(c4, minCost123t + minCost123b);
  cout << minCost << endl;
  return 0;
}
