#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0);
  long long n, k, m;
  cin >> n >> k >> m;
  vector<long long> a(n);
  for (auto &i : a) cin >> i;
  sort(a.begin(), a.end());
  long long s = 0;
  long double ans = 0;
  for (int i = n - 1; i >= 0; --i) {
    s += a[i];
    if (i <= m)
      ans = max(ans, ((long double)min((n - i) * k, m - i) + s) / (n - i));
  }
  cout.precision(12);
  cout << fixed << ans << "\n";
  return 0;
}
