#include <bits/stdc++.h>
using namespace std;
int n;
int x[1000000];
int ini1, fin1, ini2, fin2, ini3, fin3;
int i1, i2;
bool sepuede(int d) {
  i1 = 0;
  while (i1 + 1 < n and x[i1 + 1] - x[0] <= d) i1++;
  ini1 = 0;
  fin1 = i1;
  if (i1 == n - 1) {
    ini2 = fin2 = ini3 = fin3 = n - 1;
    return true;
  }
  i2 = i1 + 1;
  while (i2 + 1 < n and x[i2 + 1] - x[i1 + 1] <= d) i2++;
  ini2 = i1 + 1;
  fin2 = i2;
  if (i2 == n - 1) {
    ini3 = fin3 = n - 1;
    return true;
  }
  if (x[n - 1] - x[i2 + 1] > d) return false;
  ini3 = i2 + 1;
  fin3 = n - 1;
  return true;
}
int main() {
  cout.setf(ios::fixed);
  cout.precision(10);
  cin >> n;
  for (int i = 0; i < n; i++) cin >> x[i];
  sort(x, x + n);
  int inf = -1;
  int sup = 1000000000;
  while (inf + 1 < sup) {
    int med = (inf + sup) / 2;
    if (sepuede(med))
      sup = med;
    else
      inf = med;
  }
  sepuede(sup);
  double sol = max((x[fin1] - x[ini1]) / 2.0,
                   max((x[fin2] - x[ini2]) / 2.0, (x[fin3] - x[ini3]) / 2.0));
  cout << sol << endl;
  cout << (x[ini1] + x[fin1]) / 2.0 << " " << (x[ini2] + x[fin2]) / 2.0 << " "
       << (x[ini3] + x[fin3]) / 2.0 << endl;
}
