#include <bits/stdc++.h>
using namespace std;
#define ll long long
ll arr[200005];
int main()
{
	ll n, k, x;
	cin>>n>>k>>x;

	for(int i=0;i<n;i++){
		cin>>arr[i];
	}
	sort(arr, arr+n);
	std::vector<ll> v;
	ll cnt=0,xtra=0;
	for(int i=1;i<n;i++){
		ll d=arr[i]-arr[i-1];
		if(d>x){
			xtra=((d+x-1)/x)-1;
			v.push_back(xtra);
			cnt++;
		}
	}
	sort(v.begin(),v.end());
	for(int i=0;i<v.size();i++){
		if(v[i]<=k){
			k-=v[i];
			cnt--;
		}
	}
	cout<<cnt+1<<endl;
}