#include <bits/stdc++.h>
using namespace std;
inline int IN() {
  int n;
  scanf("%d", &n);
  return n;
}
inline void OUT(int n) { printf("%d ", n); }
int main() {
  long long n, k, m, sum = 0;
  cin >> n >> k >> m;
  long long data[n];
  for (int i = 0; i < n; i++) {
    cin >> data[i];
    sum += data[i];
  }
  sort(data, data + n);
  long double result = (long double)(sum + min(k * n, m)) / (long double)(n);
  for (int i = 1; i <= min(n - 1, m); i++) {
    sum -= data[i - 1];
    long double temp =
        (long double)(sum + min(k * (n - i), m - i)) / (long double)(n - i);
    result = max(result, temp);
  }
  cout << fixed << setprecision(20) << result << endl;
  return 0;
}
