#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<double> u(N);
  for (int i = 0; i < N; i++) cin >> u[i];
  sort(u.begin(), u.end());
  double ans = (u[0] + u[1]) / 2;
  for (int i = 2; i < N; i++) {
    ans = (ans + u[i]) / 2;
    cout << ans << endl;
  }
  cout << ans << endl;
}
