#include <bits/stdc++.h>
using namespace std;
static const int INF = 100000;
static const int MOD = 1000000007;
int main() {
  int N;
  cin >> N;
  vector<int> v(N);
  priority_queue<double, vector<double>, greater<double> > pq;
  for (int i = 0; i < N; i++) {
    cin >> v[i];
    pq.push(double(v[i]));
  }
  double ans = 0;
  for (int i = 1; i < N; i++) {
    double p = pq.top();
    pq.pop();
    double q = pq.top();
    pq.pop();
    double res = (p + q) * 1.0 / 2;
    cout << res << endl;
    ans = res;
    pq.push(res);
  }
  printf("%.8f\n", ans);
}
