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

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);

    ll n, k, x, groups = 0;
    cin >> n >> k >> x;
    vector<ll> a(n), b;
    for (auto& i : a)
        cin >> i;
    sort(a.begin(), a.end());
    for (int i = 1; i < n; ++i) {
        ll d = a[i] - a[i - 1];
        if (d > x) {
            ++groups;
            b.pb((d + x - 1) / x - 1);
        }
    }
    sort(b.begin(), b.end());
    ll cnt = 0;
    for (auto i : b) {
        if (k - i >= 0) {
            k -= i;
            ++cnt;
        }
    }
    cout << groups - cnt + 1 << '\n';
}
