func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int a, b, c, d, e, f;     cin >> a >> b >> c >> d >> e >> f;     long k = min(d, min(c, b));     long m = min(a, d);     long cost = 0;     if (e > f) {       d = d - m;       cost = m * e + min(d, min(c, b)) * f;     } else {       d = d - k;       cost = k * f + min(a, d) * e;     }     cout << cost << endl;     return 0;   }   