#include <bits/stdc++.h>
const int INF = 2147483647;
using namespace std;
int main() {
  int n;
  cin >> n;
  priority_queue<double, vector<double>, greater<double>> q;
  for (int i = 0; i < n; i++) {
    double v;
    cin >> v;
    q.push(v);
  }
  while (q.size() > 1) {
    double v1 = q.top();
    q.pop();
    double v2 = q.top();
    q.pop();
    cout << (v1 + v2) / 2 << endl;
    q.push((v1 + v2) / 2);
  }
  cout << fixed << setprecision(6) << q.top() << endl;
}
