#include <bits/stdc++.h>
using namespace std;
void print(vector<long long> v) {
  long long n = v.size();
  for (long long i = 0; i < n; i++) cout << v[i] << " ";
  cout << '\n';
}
long long power(long long a, long long b) {
  long long res = 1;
  while (b != 0) {
    if (b & 1) res *= a;
    a = a * a;
    b /= 2;
  }
  return res;
}
bool check(double mid, vector<double> &v) {
  double x = v[0];
  long long cnt = 0;
  while (true) {
    auto it = upper_bound(v.begin(), v.end(), x + 2 * mid);
    cnt++;
    if (it == v.end()) break;
    x = *it;
  }
  if (cnt > 3) return false;
  return true;
}
double binary(vector<double> v) {
  double low = double(0), high = double(1000000000), mid;
  double err = 0.000001;
  while (high - low > err) {
    mid = low + 0.5 * (high - low);
    if (check(mid, v)) {
      high = mid;
    } else {
      low = mid;
    }
  }
  return high;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long n;
  cin >> n;
  vector<double> v(n);
  for (long long i = 0; i < n; i++) cin >> v[i];
  sort(v.begin(), v.end());
  double d = binary(v);
  double x = v[0];
  vector<double> ans;
  ans.push_back(x + d);
  while (true) {
    auto it = upper_bound(v.begin(), v.end(), x + 2 * d);
    if (it == v.end()) break;
    x = *it;
    ans.push_back(x + d);
  }
  while (ans.size() < 3) {
    ans.push_back(v[n - 1]);
  }
  cout << fixed << setprecision(12);
  cout << d << '\n';
  for (long long i = 0; i < 3; i++) cout << ans[i] << " ";
  return 0;
}
