#include <bits/stdc++.h>
#define ll long long
using namespace std;
//ll a[1000005];
void solve(){
	ll n,d,k;
	cin>>n>>k>>d;
	ll a[n];
	for(int i=0;i<n;i++)cin>>a[i];
	ll ans=1;
	vector<ll>v;
	sort(a,a+n);
	for(int i=1;i<n;i++){
		if(a[i]-a[i-1]>d){
			++ans;
			v.push_back((a[i]-a[i-1]-1)/d);
		}
	}
	sort(v.begin(),v.end());
	for(ll c:v){
		if(k>=c)k-=c,--ans;
	}
	cout<<ans<<endl;
}
	
 
int main() {
	/*ll t;
	cin>>t;
	while(t--)*/ solve();
}