func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long MAX_I = 1000;   long long a[MAX_I + 1];   long long b[MAX_I + 1];   int main() {     long long n, m;     long long c[5];     long long tmp;     long long asum = 0;     long long bsum = 0;     cin >> c[1] >> c[2] >> c[3] >> c[4];     cin >> n >> m;     for (long long i = 0; i < n; ++i) {       cin >> tmp;       a[i] = min(c[2], c[1] * tmp);       asum += a[i];     }     for (long long i = 0; i < m; ++i) {       cin >> tmp;       b[i] = min(c[2], c[1] * tmp);       bsum += b[i];     }     asum = min(asum, c[3]);     bsum = min(bsum, c[3]);     cout << min(asum + bsum, c[4]) << endl;     return 0;   }   