func_code_string: #include <bits/stdc++.h>   #pragma comment(linker,  /STACK:256000000 )   using namespace std;   const int INF = (int)(1e9 + 1e6);   const long long LINF = (long long)(4e18);   const double EPS = 1e-9;   const long long mod = 1e9 + 7;   mt19937 ggen;   void solve();   int main() {     iostream::sync_with_stdio(false);     cin.tie(0);     ggen = mt19937(1337);     solve();   }   void solve() {     int n;     cin >> n;     vector<int> a(n);     for (int i = 0; i < n; ++i) {       cin >> a[i];     }     int x, f;     cin >> x >> f;     long long ans = 0;     long long ft = x + f;     for (int i = 0; i < n; ++i) {       long long gh = static_cast<long long>(a[i]);       long long mt = gh / ft;       ans += mt * f;       if (gh - mt * ft > x) {         ans += f;       }     }     cout << ans;   }   