#include <bits/stdc++.h>
using namespace std;
const int mx = 1e5 + 5;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n = 0;
  cin >> n;
  vector<long long> v(n, 0);
  for (int i = 0; i < n; i++) cin >> v[i];
  sort(v.begin(), v.end());
  float ans = (float)(v[0] + v[1]) / 2;
  for (int i = 2; i < n; i++) {
    ans = (float)(ans + (float)v[i]) / 2;
    cout << ans << endl;
  }
  cout << ans << endl;
  return 0;
}
