#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n, k, m;
  cin >> n >> k >> m;
  int a[n];
  for (int i = 0; i < n; ++i) cin >> a[i];
  sort(a, a + n);
  reverse(a, a + n);
  long long cum[n];
  cum[0] = a[0];
  for (int i = 1; i < n; ++i) cum[i] = cum[i - 1] + a[i];
  long double res = 0;
  for (int i = 0; i <= m and i < n; ++i) {
    long long cnt = n - i;
    long long tot = cum[cnt - 1];
    long long add = min(cnt * k, (long long)m - i);
    tot += add;
    res = max(res, (long double)tot / (long double)cnt);
  }
  cout << fixed << setprecision(16) << res << "\n";
  return 0;
}
