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