#include <bits/stdc++.h>
using namespace std;
long long int n, m, k, ab, ac, bc, ratioa;
long long int a[200005];
vector<double> res;
double chk(double mid) {
  res.clear();
  double x = a[0] + mid;
  res.push_back(x);
  long long int ans = 1;
  for (long long int i = 1; i < n; i++) {
    if (a[i] <= x + mid)
      continue;
    else {
      ans++;
      x = a[i] + mid;
      res.push_back(x);
    }
  }
  if (ans <= 3) {
    return true;
  }
  return false;
}
void solve() {
  cin >> n;
  for (long long int i = 0; i < n; i++) {
    cin >> a[i];
  }
  if (n == 1) {
    cout << 0 << "\n";
    cout << a[0] << " " << a[0] << " " << a[0] << "\n";
    return;
  } else if (n == 2) {
    cout << 0 << "\n";
    cout << a[0] << " " << a[0] << " " << a[1] << "\n";
    return;
  }
  sort(a, a + n);
  vector<double> v;
  double l = 0.0, h = (double)a[n - 1], mid, ans = -1, o = 100;
  while (o--) {
    mid = l + (h - l) / 2;
    if (chk(mid)) {
      v = res;
      ans = mid;
      h = mid;
    } else {
      l = mid;
    }
  }
  cout << fixed << setprecision(9) << ans << "\n";
  if (v.size() == 3) {
    for (auto it : v) {
      cout << it << " ";
    }
  } else if (v.size() == 2) {
    for (auto it : v) {
      cout << it << " ";
    }
    cout << a[0] << "\n";
  } else if (v.size() == 1) {
    for (auto it : v) {
      cout << it << " ";
    }
    cout << a[0] << "\n";
    cout << a[1] << "\n";
  }
}
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  long long int t = 1, u = 0;
  while (t--) {
    solve();
  }
}
