#include <bits/stdc++.h>
using namespace std;
int a[100010];
int main() {
  int n, m;
  scanf("%d", &n);
  double ans;
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
  }
  sort(a + 1, a + n + 1);
  ans = a[1];
  cout << ans << endl;
  for (int i = 2; i <= n; i++) {
    cout << ans + a[i] << endl;
    ans = (double)(ans + a[i]) / 2;
    cout << ans << endl;
  }
  printf("%.6lf\n", ans);
  return 0;
}
