#include <bits/stdc++.h>
using namespace std;
int main() {
  int c1, c2, c3, c4;
  int n, m;
  int a[1002], b[1002];
  cin >> c1 >> c2 >> c3 >> c4;
  cin >> n >> m;
  for (int i = 1; i <= n; i++) cin >> a[i];
  for (int i = 1; i <= m; i++) cin >> b[i];
  for (int i = 1; i <= n; i++) {
    if (c2 < c1 * a[i])
      a[i] = c2;
    else
      a[i] = c1 * a[i];
  }
  for (int i = 1; i <= m; i++) {
    if (c2 < b[i] * c1)
      b[i] = c2;
    else
      b[i] = c1 * b[i];
  }
  int sum1 = 0;
  int sum2 = 0;
  for (int i = 1; i <= n; i++) sum1 += a[i];
  if (sum1 > c3) sum1 = c3;
  for (int i = 1; i <= m; i++) sum2 += b[i];
  if (sum2 > c3) sum2 = c3;
  int sum3 = sum1 + sum2;
  if (sum3 > c4) sum3 = c4;
  cout << sum3 << endl;
  return 0;
}
