#include <bits/stdc++.h>
using namespace std;
int i, i0, n, m, x, y, a[105];
int main() {
  while (scanf("%d %d %d", &n, &x, &y) != EOF) {
    int cnt = 0;
    for (i = 1; i <= n; i++) scanf("%d", &a[i]), cnt += (a[i] <= x);
    if (x > y)
      printf("%d\n", n);
    else
      printf("%d\n", cnt / 2 + cnt % 2);
  }
  return 0;
}
