#include <bits/stdc++.h>
using namespace std;
double fave(double x1, double x2) { return (x1 + x2) / 2.0; }
int main() {
  int N;
  cin >> N;
  vector<int> Vi;
  for (int i = 0; i < (int)(N); i++) {
    int tmpVi = 0;
    cin >> tmpVi;
    Vi.push_back(tmpVi);
  }
  sort(Vi.begin(), Vi.end());
  double ans = fave((double)Vi.at(0), (double)Vi.at(1));
  for (int i = 0; i < (int)(N - 2); i++) {
    ans = fave(ans, (double)Vi.at(i + 2));
    cout << ans << endl;
  }
  cout << fixed;
  cout << setprecision(10) << ans << endl;
  return 0;
}
