#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> V(N, 0);
  for (auto &idx : V) cin >> idx;
  long double current = 0.0L;
  sort(V.begin(), V.end(), greater<int>());
  do {
    current = (V[V.size() - 2] + V[V.size() - 1]) / 2;
    V.pop_back();
    V.pop_back();
    V.push_back(current);
    sort(V.begin(), V.end(), greater<int>());
  } while (V.size() > 1);
  for (auto idx : V) cout << idx << endl;
  return 0;
}
