#include <bits/stdc++.h>
#define int long long
using namespace std;
const int N = 2e5 + 5;
int n, k, x;
int a[N];
int rr[N], cnt, res = 1;
signed main() {
  cin >> n >> k >> x;
  for (int i = 1; i <= n; ++i) {
    cin >> a[i];
  }
  sort(a + 1, a + n + 1);
  for (int i = 2; i <= n; ++i) {
    if (a[i] - a[i - 1] > x) {
      ++res;
      rr[++cnt] = (a[i] - a[i - 1] - 1) / x;
    }
  }
  sort(rr + 1, rr + cnt + 1);
  for (int i = 1; i <= cnt; ++i) {
    if (k >= rr[i]) {
      k -= rr[i];
      --res;
    }
  }
  cout << res;
  return 0;
}