#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vec = vector<ll>;
ll MOD = 1000000007;
ll INF = 1LL << 60;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  ll n, k, m;
  cin >> n >> k >> m;
  vec a(n);
  double sum = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    sum += a[i];
  }
  sort(a.begin(), a.end());
  ;
  double out = (sum + min(m, n * k)) / n;
  double temp;
  for (int i = 1; i < min(n, m + 1); i++) {
    sum -= a[i - 1];
    temp = (sum + min(m - i, (n - i) * k)) / (n - i);
    out = max(temp, out);
  }
  cout << setprecision(10) << out;
}
