#include <bits/stdc++.h>
using namespace std;
bool isv(char x) {
  if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u') return true;
  return false;
}
int main() {
  ios_base::sync_with_stdio();
  cin.tie(0);
  cout.tie(0);
  {
    long long n, k, m;
    double ans = 0, avg = 0;
    cin >> n >> k >> m;
    double a[n];
    for (long long i = 0; i < n; i++) cin >> a[i];
    sort(a, a + n);
    for (long long i = 0; i < n; i++) {
      avg += a[n - i - 1];
      if (m - n + i + 1 >= 0) {
        ans = max(ans, (avg + min(m - n + i + 1ll, (long long)(i + 1) * k)) /
                           (double)(i + 1));
      }
    }
    cout << fixed << setprecision(10) << ans << endl;
  }
  return 0;
}
