#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  double k, m;
  cin >> n >> k >> m;
  int ara[n + 5];
  double sum = 0;
  for (int i = 1; i <= n; i++) {
    cin >> ara[i];
    sum += ara[i];
  }
  sort(ara + 1, ara + n + 1);
  double mx = (double)-(1000000000000000000LL);
  long long temp = 0, cnt = n;
  for (int i = 1; i <= n; i++) {
    mx = max((sum - temp + min(k * (n - i + 1), m)) / cnt, mx);
    if (m > 0) {
      m--;
      cnt--;
      temp += ara[i];
    }
  }
  printf("%.12lf\n", mx);
  return 0;
}
