#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n, k, m;
  cin >> n >> k >> m;
  long long int a[n], sm = 0ll;
  for (int i = 0; i < n; i++) cin >> a[i], sm += a[i];
  long long int auxn = n, avl = min(m, n * k);
  long double ans = (long double)(sm + avl) / (long double)n;
  sort(a, a + n);
  for (int i = 0; i < auxn - 1; i++) {
    n--, m--;
    if (m < 0) break;
    sm -= a[i];
    avl = min(m, n * k);
    ans = max(ans, (long double)(sm + avl) / (long double)n);
  }
  cout << setprecision(6) << fixed << ans << endl;
}
