#include <bits/stdc++.h>
using namespace std;
long long lista[100010];
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(0);
  long long n, k, m, total = 0, resta = 0;
  long double mx = 0;
  cin >> n >> k >> m;
  for (int i = 1; i <= n; i++) {
    cin >> lista[i];
    total += lista[i];
  }
  sort(lista + 1, lista + n + 1);
  for (int i = 0; i <= min(n - 1, m); i++) {
    resta += lista[i];
    long long actual =
        total - resta + min((long long)(n - i) * k, (long long)m - i);
    mx = max(mx, (long double)actual / (n - i));
  }
  cout << fixed << setprecision(20) << mx << endl;
  return 0;
}
