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