#include <bits/stdc++.h>
using namespace std;
const greater<int> gt;
int A[100000];
int main() {
  cout << fixed << setprecision(11);
  long long n, k, m;
  cin >> n >> k >> m;
  for (int i = 0; i < n; ++i) cin >> A[i];
  sort(A, A + n, gt);
  double mx = 0, rx = 0;
  for (int i = 0; i < n; ++i) {
    rx += A[i];
    if (n - i < m + 2) {
      mx = max(mx, (min(m - n + i + 1, (i + 1) * k) + rx) / (i + 1));
    }
  }
  cout << mx;
  return 0;
}
