#include <bits/stdc++.h>
const int N=500000+5;
using namespace std;
int n,a,b;
int l[N]={0};
int main(){
freopen ("dry.in","r",stdin);
freopen ("dry.out","w",stdout);
scanf("%d%d%d",&n,&a,&b);
priority_queue<int>q;
for (int i=1;i<=n;i++){
scanf("%d",&l[i]);
q.push(l[i]);
}
int t=0;
while(!q.empty()){
int v=q.top();q.pop();
if (v<=t*a)break;
t++;
q.push(v-b);
}
printf("%d\n",t);
return 0;
}