func_code_string: #include <bits/stdc++.h>   using namespace std;   inline int read() {     int data = 0, w = 1;     char ch = getchar();     while (ch !=  -  && (ch <  0  || ch >  9 )) ch = getchar();     if (ch ==  - ) w = -1, ch = getchar();     while (ch >=  0  && ch <=  9 )       data = (data << 3) + (data << 1) + (ch ^ 48), ch = getchar();     return data * w;   }   const int maxn(200010);   long long n, a[maxn], x, f, ans;   int main() {     n = read();     for (register int i = 1; i <= n; i++) a[i] = read();     x = read();     f = read();     for (register int i = 1; i <= n; i++) {       a[i] -= x;       if (a[i] > 0) {         if (!(a[i] % (x + f)))           ans += (a[i] / (x + f)) * f;         else           ans += (1 + a[i] / (x + f)) * f;       }     }     printf( %I64d n , ans);     return 0;   }   