#include <bits/stdc++.h>
using namespace std;
int N;
vector<int> V;
int main() {
  cin >> N;
  int v;
  for (int(i) = 0; (i) < (N); (i)++) {
    cin >> v;
    V.push_back(v);
  }
  sort(V.begin(), V.end());
  double ans = 0.0;
  ans += V[0] / pow(2, N - 1);
  cout << ans << endl;
  for (int i = 0; i < N - 1; i++) {
    ans += V[i + 1] / pow(2, N - 1 - i);
    cout << ans << endl;
  }
  cout << fixed << setprecision(5) << ans << endl;
  return 0;
}
