#include <bits/stdc++.h>
using namespace std;
int read() {
  int ans = 0;
  char c = getchar();
  while (!isdigit(c)) c = getchar();
  while (isdigit(c)) {
    ans = ans * 10 + c - '0';
    c = getchar();
  }
  return ans;
}
vector<int> v;
int main(int argc, char const *argv[]) {
  int n = read(), a = read(), b = read(), k = read(), ans = 0;
  for (int i = 0; i < n; ++i) {
    int x = read();
    int m = x % (a + b);
    if (m == 0) m = a + b;
    if (m > a)
      v.push_back((m - 1) / a);
    else
      ans++;
  }
  sort(v.begin(), v.end());
  for (int i = 0; i < v.size(); i++) {
    if (v[i] > k)
      break;
    else {
      k -= v[i];
      ans++;
    }
  }
  cout << ans << endl;
  return 0;
}
