#include <bits/stdc++.h>
using namespace std;
int main() {
  float n, a;
  vector<float> var;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    var.push_back(a);
  }
  if (n == 2)
    cout << (var.at(0) + var.at(1)) / 2 << endl;
  else {
    sort(var.begin(), var.end());
    for (int i = 0; i < n - 1; i++) {
      var[i + 1] = (var[i] + var[i + 1]) / 2;
    }
    for (int t : var) {
      cout << t << endl;
    }
    cout << var.at(n - 1) << endl;
  }
}
