#include <bits/stdc++.h>
using namespace std;
const int MAXN = 200000 + 100;
int x[MAXN];
int n;
int getnext(double dis) {
  if (dis >= x[n - 1]) return n;
  int down = 0, up = n - 1;
  while (down + 1 < up) {
    int mid = (down + up) >> 1;
    if (x[mid] > dis) {
      up = mid;
    } else {
      down = mid;
    }
  }
  return up;
}
int getlast(double dis) {
  if (dis <= x[0]) return -1;
  int down = 0, up = n - 1;
  while (down + 1 < up) {
    int mid = (down + up) >> 1;
    if (x[mid] < dis) {
      down = mid;
    } else {
      up = mid;
    }
  }
  return down;
}
bool isok(double r) {
  double xx = x[0] + r + r;
  int ind = getnext(xx);
  if (ind == n) return true;
  xx = x[n - 1] - r - r;
  int ind2 = getlast(xx);
  if (ind2 == -1) return true;
  if (ind2 < ind) return true;
  return x[ind2] - x[ind] < r + r;
}
void gao(double r) {
  printf("%.6lf\n", r);
  int ind = getnext(x[0] + r + r);
  int ind2 = getlast(x[n - 1] - r - r);
  double mid;
  if (ind2 < ind) {
    mid = x[ind];
  } else {
    mid = (x[ind2] + x[ind]) / 2.0;
  }
  printf("%.6lf %.6lf %.6lf\n", x[0] + r, mid, x[n - 1] - r);
}
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) {
    scanf("%d", x + i);
  }
  sort(x, x + n);
  double down = 0, up = (x[n - 1] - x[0]) / 5.9;
  for (int i = 0; i < 100; ++i) {
    double mid = (down + up) / 2;
    if (isok(mid)) {
      up = mid;
    } else {
      down = mid;
    }
  }
  gao(up);
  return 0;
}
