#include <bits/stdc++.h>
using namespace std;
const int NMAX = 1e2 + 5;
int A[NMAX], N, X, Y, i, B[NMAX];
int main() {
  cin.tie(NULL);
  cin >> N >> X >> Y;
  for (int i = 1; i <= N; ++i) cin >> A[i];
  if (X > Y) {
    cout << N << '\n';
    return 0;
  }
  for (int i = 1; i <= N; ++i)
    if (A[i] <= X) B[++B[0]] = A[i];
  cout << (B[0] + 1) / 2 << '\n';
  return 0;
}
