#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pib = pair<int, bool>;
using vi = vector<int>;
const int INF = (int)1e9;
const ll INFLL = (long long)2e18;
const int MOD = (int)1e9 + 7;
const int N = (int)1e6 + 5;
const double EPS = 1E-9;
const double EPS_ANG = 1E-16;
const static double PI = 3.141592653589793;
const int dx[8] = {+0, +0, +1, -1, +1, +1, -1, -1};
const int dy[8] = {+1, -1, +0, +0, +1, -1, +1, -1};
int main() {
  int t = 1;
  for (int cas = 1; cas <= t; ++cas) {
    int n;
    scanf("%d", &n);
    int a[n];
    for (int i = 0; i < n; ++i) {
      scanf("%d", &a[i]);
    }
    sort(a, a + n);
    double lo = 0, hi = (a[0] + a[n - 1]) / 2.0;
    double x, y, z, d;
    while (hi - lo > EPS) {
      double mid = lo + (hi - lo) / 2;
      double curBase = a[0] + mid;
      int i = 0;
      while (i < n) {
        if (a[i] > curBase + mid) break;
        ++i;
      }
      double curBase2 = curBase;
      if (i < n) {
        curBase2 = a[i] + mid;
        while (i < n) {
          if (a[i] > curBase2 + mid) break;
          ++i;
        }
      }
      double curBase3 = curBase2;
      if (i < n) {
        curBase3 = a[i] + mid;
        while (i < n) {
          if (a[i] > curBase3 + mid) break;
          ++i;
        }
      }
      if (i == n) {
        d = mid;
        x = curBase, y = curBase2, z = curBase3;
        hi = mid - 0.000000000001;
      } else
        lo = mid + 0.000000000001;
    }
    printf("%.6lf\n", d);
    printf("%.6lf %.6lf %.6lf\n", x, y, z);
  }
  return 0;
}
