#include<bits/stdc++.h>
#define ll long long int
#define scn(a) scanf("%d",&a)
#define scnl(a) scanf("%lld",&a)
#define pb push_back
#define fastio ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
using namespace std;

int main()
{
    int n;
    ll k,x;
    scn(n),scnl(k),scnl(x);
    ll a[n];
    for(int i=0;i<n;++i)
    scnl(a[i]);
    sort(a,a+n);
    vector<ll> v;
    for(int i=1;i<n;++i)
    if(a[i]-a[i-1]>x)
    v.pb(a[i]-a[i-1]);
    int l=v.size();
    if(l)
    {
        sort(v.begin(),v.end());
        int j=l;
        for(int i=0;i<j;++i,--l)
        {
            ll d=(v[i]+x-1)/x-1;
            if(k>=d)
            k-=d;
            else
            break;
        }
    }
    printf("%d",l+1);
    return 0;
}
