#include <bits/stdc++.h>
const double pi = acos(-1.0);
const double eps = 1e-9;
using namespace std;
double pos1, pos2, pos3;
bool ok(double d, vector<int> a) {
  pos1 = a[0] + d;
  int id = 0;
  for (int i = 0; i < a.size(); i++)
    if (a[i] > pos1 + d) {
      id = i;
      break;
    }
  pos2 = a[id] + d;
  for (int i = 0; i < a.size(); i++)
    if (a[i] > pos2 + d) {
      id = i;
      break;
    }
  pos3 = a[id] + d;
  for (int i = 0; i < a.size(); i++) {
    if (pos1 - d <= a[i] && a[i] <= pos1 + d) continue;
    if (pos2 - d <= a[i] && a[i] <= pos2 + d) continue;
    if (pos3 - d <= a[i] && a[i] <= pos3 + d) continue;
    return false;
  }
  return true;
}
void solve() {
  int n;
  cin >> n;
  set<int> st;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    st.insert(x);
  }
  n = st.size();
  vector<int> a;
  while (st.size() > 0) {
    a.push_back(*st.begin());
    st.erase(*st.begin());
  }
  double l = 0, r = a.back() + 1;
  vector<double> ans;
  for (int it = 0; it < 100; it++) {
    double mid = (l + r) * 0.5;
    if (ok(mid, a)) {
      r = mid;
      ans.clear();
      ans.push_back(pos1);
      ans.push_back(pos2);
      ans.push_back(pos3);
    } else
      l = mid;
  }
  cout << r << endl;
  for (auto x : ans) cout << x << " ";
}
int main() {
  ios::sync_with_stdio(NULL), cin.tie(0), cout.tie(0);
  cout.setf(ios::fixed), cout.precision(10);
  int step;
  step = 1;
  for (int i = 1; i <= step; i++) {
    solve();
  }
}
