#include <bits/stdc++.h>
using namespace std;
long long int gcd(long long int a, long long int b) {
  if (b == 0) {
    return a;
  } else {
    return gcd(b, a % b);
  }
}
long long int lcm(long long int a, long long int b) {
  return (a * b) / gcd(a, b);
}
long long int power(long long int a, long long int b) {
  if (b == 0) return 1;
  if (b == 1) return a;
  if (b % 2 == 1) return (power(a, b - 1) * a) % 1000000007;
  long long int q = power(a, b / 2);
  return (q * q) % 1000000007;
}
int main() {
  std::ios::sync_with_stdio(false);
  long long int n, x, y;
  cin >> n >> x >> y;
  long long int arr[n + 2];
  long long int co = 0;
  for (int i = 1; i <= n; i++) {
    cin >> arr[i];
    if (arr[i] <= x) co++;
  }
  if (y - x < 0)
    cout << n << "\n";
  else
    cout << (co + 1) / 2 << "\n";
  return 0;
}
