#include <bits/stdc++.h>
int main() {
  std::cout << std::setprecision(20) << std::fixed;
  int n, k, m;
  std::cin >> n >> k >> m;
  double total_sum = 0.0;
  std::vector<int> a(n);
  for (int i = 0; i < n; ++i) {
    std::cin >> a[i];
    total_sum += a[i];
  }
  double ans = (total_sum + std::min(m, n * k)) / n;
  std::sort(a.begin(), a.end());
  for (int i = 0; i < std::min(m, n - 1); ++i) {
    total_sum -= a[i];
    ans = std::max(
        ans, (total_sum + std::min(m - i - 1ll, (n - i - 1ll) * (int64_t)k)) /
                 (n - i - 1ll));
  }
  std::cout << ans << '\n';
  return 0;
}
