#include <bits/stdc++.h>
using namespace std;
int64_t acum[100008];
int n, k, m;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> k >> m;
  for (int i = 1; i <= n; i++) cin >> acum[i];
  sort(acum + 1, acum + n + 1);
  for (int i = n; i >= 1; i--) acum[i] += acum[i + 1];
  long double maxAns = 0;
  for (int i = min(n, m + 1); i >= 1; i--) {
    maxAns =
        max(maxAns, (long double)(acum[i] + min((int64_t)m - i + 1,
                                                (int64_t)k * (n - i + 1))) /
                        (n - i + 1));
  }
  cout << fixed << setprecision(20) << maxAns << "\n";
  return 0;
}
