#include<bits/stdc++.h>
typedef long long ll;
using namespace std;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    ll n, k, x;
    cin>>n>>k>>x;
    ll arr[n];
    for(int i=0; i<n; i++)
    {
        cin>>arr[i];
    }
    sort(arr, arr+n);
    ll groups = 1;
    vector<ll> diff;
    for(int i=1; i<n; i++)
    {
        ll temp = arr[i] - arr[i-1];
        if(temp > x){
            diff.push_back(temp);
            groups++;
        }
    }
    sort(diff.begin(), diff.end());
    for(auto i:diff)
    {
        ll add = i/x;
        if(add*x == i)
            add--;
        if(k >= add)
        {
            k -= add;
            groups--;
        }
    }
    cout<<groups<<"\n";
}