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