#include <bits/stdc++.h>
using namespace std;
int a[105];
int main() {
  int n, x, y;
  ;
  cin >> n >> x >> y;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
  }
  int sum = 0;
  if (x <= y) {
    for (int i = 0; i < n; i++) {
      if (a[i] <= x) sum++;
    }
    sum = (sum + 1) / 2;
  } else
    sum = n;
  cout << sum << endl;
  return 0;
}
