#include <bits/stdc++.h>
int main(void) {
  int N;
  scanf("%d", &N);
  double v[N];
  for (int i = 0; i < N; i++) scanf("%le", &v[i]);
  int a, b;
  double sum, temp;
  for (int i = 0; i < N - 1; i++) {
    for (int j = N - 1; j > i; j--) {
      if (v[j] > v[j - 1]) {
        temp = v[j];
        v[j] = v[j - 1];
        v[j - 1] = temp;
      }
    }
  }
  for (int i = N - 2; i > -1; i--) {
    v[i] = (v[i] + v[i + 1]) / 2;
  }
  for (int i = 0; i < N; i++) printf("%.2lf\n", v[0]);
}
