#include <bits/stdc++.h>
using namespace std;
long long n, k, m, baki;
double ans = 0, temp, total;
vector<long long> v;
int main() {
  cin >> n >> k >> m;
  v.resize(n);
  for (int i = 0; i < n; i++) {
    cin >> v[i];
    total += v[i];
  }
  sort(v.begin(), v.end());
  for (long long i = 0; i <= min(m, n - 1); i++) {
    baki = n - i;
    temp = total + min(m - i, baki * k);
    ans = max(ans, temp / baki);
    total -= v[i];
  }
  cout << fixed << setprecision(15) << ans;
}
