#include <bits/stdc++.h>
using namespace std;
double a[100005];
int main() {
  long long n, k, m;
  cin >> n >> k >> m;
  double sum2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  if (n == 1) {
    double ans = a[0] + min(m, k);
    cout << fixed << setprecision(8) << ans;
  } else {
    sort(a, a + n);
    for (int i = 0; i < n; i++) {
      sum2 += a[i];
    }
    double ans = (sum2 + min(k * n, m)) / n, tmp = 0;
    for (int i = 0; i < n - 1; i++) {
      if (i == m) break;
      tmp += a[i];
      double tmp2 =
          ((sum2 - tmp) + min(k * (n - (i + 1)), m - (i + 1))) / (n - (i + 1));
      ans = max(tmp2, ans);
    }
    cout << fixed << setprecision(9) << ans;
  }
}
