func_code_string: #include <bits/stdc++.h>   using namespace std;   int c1, c2, c3, c4, n, m;   const int maxn = 1050;   int a[maxn], b[maxn];   int p, q, r, s;   int x, y;   int main() {     cin >> c1 >> c2 >> c3 >> c4;     cin >> n >> m;     for (int i = 0; i < n; i++) {       cin >> a[i];       x += min(c1 * a[i], c2);     }     for (int i = 0; i < m; i++) {       cin >> b[i];       y += min(c1 * b[i], c2);     }     cout << min(min(x, c3) + min(y, c3), c4) << endl;     return 0;   }   