func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int c1, c2, c3, c4;     int n, m, x;     int b = 0, t = 0, tot = 0;     scanf( %d %d %d %d , &c1, &c2, &c3, &c4);     scanf( %d %d , &n, &m);     for (int i = 1; i <= n; i++) {       scanf( %d , &x);       if (x * c1 > c2)         b += c2;       else         b += x * c1;     }     if (b > c3) b = c3;     for (int i = 1; i <= m; i++) {       scanf( %d , &x);       if (x * c1 > c2)         t += c2;       else         t += x * c1;     }     if (t > c3) t = c3;     tot = b + t;     if (tot > c4) tot = c4;     printf( %d n , tot);   }   