#include <bits/stdc++.h>
using namespace std;
long long n, k, m, x, o, sum, cop_n;
vector<long long> elem;
long double ans;
int main() {
  cin >> n >> k >> m;
  for (int i = 1; i <= n; i++) {
    cin >> x;
    elem.push_back(x);
    sum += x;
  }
  sort(elem.begin(), elem.end());
  cop_n = n;
  for (int i = 0; i < n && m >= 0; i++) {
    long double smth = 1.0 * (min(cop_n * k, m) + sum) / cop_n;
    ans = max(ans, smth);
    sum -= elem[i];
    cop_n--;
    m--;
  }
  cout << setprecision(10) << fixed << ans;
  return 0;
}
