#include <bits/stdc++.h>
using namespace std;
long double k, m, sum, cnt, mx;
long long n, a[100005];
int main() {
  ios::sync_with_stdio(0);
  cout << fixed << setprecision(20);
  cin >> n >> k >> m;
  cnt = n;
  for (int i = 0; i < n; i++) cin >> a[i], sum += a[i];
  sort(a, a + n);
  mx = sum / cnt;
  bool ok = 0;
  for (int i = 0; i < n - 1 && m; i++) {
    long double nmx = (sum - a[i] + min(k * (cnt - 1), m - 1)) / (cnt - 1);
    long double mmx = (sum + min(k * cnt, m)) / cnt;
    if (nmx > mmx) {
      sum -= a[i], cnt--, m--, mx = nmx;
    } else {
      mx = mmx;
      break;
    }
  }
  if (n == 1) {
    sum += min(k, m), m -= min(k, m), mx = sum / cnt;
  }
  cout << mx << endl;
  return 0;
}
