func_code_string: #include <bits/stdc++.h>   using namespace std;   long long c1, c2, c3, c4, n, m, i, kol1, kol, ans, ans1;   int main() {     cin >> c1 >> c2 >> c3 >> c4;     cin >> n >> m;     long long a[n + 1], b[m + 1];     for (i = 1; i <= n; i++) cin >> a[i];     for (i = 1; i <= m; i++) cin >> b[i];     for (i = 1; i <= n; i++) {       long long ans = 0;       if (a[i] * c1 <= c2)         ans += a[i] * c1;       else         ans += c2;       kol += ans;     }     kol = min(c3, kol);     for (i = 1; i <= m; i++) {       long long ans1 = 0;       if (b[i] * c1 <= c2)         ans1 += b[i] * c1;       else         ans1 += c2;       kol1 += ans1;     }     kol1 = min(c3, kol1) + kol;     cout << min(kol1, c4);     return 0;   }   