#include <bits/stdc++.h>
using namespace std;
int main() {
  double n;
  cin >> n;
  vector<double> v(n);
  for (int i = 0; i < n; i++) {
    cin >> v.at(i);
  }
  sort(v.begin(), v.end());
  double value;
  value = v.at(0);
  for (int i = 1; i <= n - 1; i++) {
    value = (value + v.at(i)) / 2;
    cout << value << endl;
  }
  cout << value << setprecision(10);
  return 0;
}
