#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> list(N + 1, 9999);
  for (int i = 0; i < N; i++) {
    cin >> list[i];
  }
  sort((list).begin(), (list).end());
  if (false) cout << "====listの内容====\n";
  for (int i = 0; i < N; i++)
    if (false) cout << list[i] << endl;
  if (false) cout << "====ここまで====\n";
  for (long long i = 0; i < (long long)(N - 1); i++) {
    cout << i << "/" << list[i] << "/" << list[i + 1] << endl;
    list[i + 1] = (list[i] + list[i + 1]) / 2;
  }
  cout << list[N - 1];
  return 0;
}
