#include <bits/stdc++.h>
using namespace std;
int cnt, a[110];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cout << setprecision(6) << fixed;
  int n, x, y;
  cin >> n >> x >> y;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    cnt += (a[i] <= x);
  }
  if (x > y) {
    cout << n << '\n';
  } else {
    cout << cnt / 2 + cnt % 2 << '\n';
  }
  return 0;
}
