#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  vector<int> v(n);
  for (int i = 0; i < (n); ++i) scanf("%d", &v[i]);
  sort(v.begin(), v.end());
  double ans = (v[0] + v[1]) / 2.0;
  for (int i = 2; i < n; ++i) {
    cout << v[i] << endl;
    ans = (ans + v[i]) / 2.0;
  }
  printf("%.9f\n", ans);
}
