#include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl '\n'
void solve() {
    int n, k, x;
    cin >> n >> k >> x;
    vector<int> a(n);
    for(auto &i : a) cin >> i;
    sort(a.begin(), a.end());
    vector<int> b;
    for(int i = 1;i < n;i++) {
        if(a[i] - a[i-1] > x) {
            if((a[i] - a[i-1])%x == 0) b.push_back((a[i]-a[i-1])/x - 1);
            else b.push_back((a[i]-a[i-1])/x);
            // cout << (a[i]-a[i-1])/x << endl;
        }
    }
    sort(b.begin(), b.end());
    int ans = b.size()+1;
    for(auto &i : b){
        if(i <= k) {
            ans--;
            k-=i;
        }
        else {
            break;
        }
    }
    cout << ans;
}

int32_t main() {
    ios_base::sync_with_stdio(0);
    cin.tie(NULL);
    cout.tie(NULL);
    int t = 1;
    // cin >> t;
    while(t--) {
        solve();
    }
	return 0;
}
