#include <bits/stdc++.h>
using namespace std;
const int INF = 2147483647;
const double PI = 3.141592653589793;
const int N = 200005;
const double eps = 1e-7;
int x[N], tab[N], i, d, n;
double r, res[5];
void ustaw(double ind) {
  int maxx, i;
  res[0] = min(2000000000.0, tab[0] + ind);
  res[2] = max(0.0, tab[n - 1] - ind);
  maxx = 0;
  for (i = 0; i < n; i++)
    if (tab[i] > res[0] + ind + eps && tab[i] < res[2] - ind - eps)
      maxx = max(maxx, tab[i]);
  res[1] = max(0.0, maxx - ind);
}
bool bad(int a, double ind) {
  for (int i = 0; i < 3; i++)
    if (tab[a] < res[i] + ind + eps && tab[a] > res[i] - ind - eps)
      return false;
  return true;
}
double jedz(double a, double b) {
  double ind = (a + b) / 2;
  if (b - a < eps) return ind;
  int i, da;
  res[0] = tab[0] + ind;
  res[2] = tab[n - 1] - ind;
  ustaw(ind);
  da = 1;
  for (i = 0; i < n; i++)
    if (bad(i, ind)) da = 0;
  if (!da) return jedz(ind, b);
  return jedz(a, ind);
}
int main() {
  scanf("%d", &n);
  for (i = 0; i < n; i++) scanf("%d", &x[i]);
  sort(x, x + n);
  d = 1;
  tab[0] = x[0];
  for (i = 1; i < n; i++)
    if (x[i] != x[i - 1]) tab[d++] = x[i];
  n = d;
  if (n <= 3) {
    r = 0.0;
    if (n == 1) {
      res[0] = res[1] = res[2] = tab[0];
    }
    if (n == 2) {
      res[0] = res[1] = tab[0];
      res[2] = tab[1];
    }
    if (n == 3) {
      res[0] = tab[0];
      res[1] = tab[1];
      res[2] = tab[2];
    }
  } else
    r = jedz(0.0, INF / 2);
  printf("%.6lf\n", r);
  ustaw(r);
  sort(res, res + 3);
  for (i = 0; i < 3; i++) printf("%.6lf ", res[i]);
  printf("\n");
  return 0;
}
