#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
long double pi = 3.14159265359;
int n;
double long v[1000];
double long ans;
int main() {
  cin >> n;
  for (int i = 0; i < (n); i++) {
    cin >> v[i];
  }
  sort(v, v + n);
  ans = v[0];
  for (int i = 1; i < n; i++) {
    ans = (ans + v[i]) / 2;
    cout << v[i] << endl;
  }
  cout << fixed << setprecision(7) << (ans) << endl;
  ;
  return 0;
}
