#include <bits/stdc++.h>
int main() {
  int i, N;
  double v[51];
  scanf("%d", &N);
  for (i = 1; i <= N; i++) scanf("%lf", &(v[i]));
  int j, flag[51] = {}, argmin[2];
  double min[2];
  for (i = 0; i < N - 1; i++) {
    min[0] = 1001;
    min[1] = 1001;
    argmin[0] = 0;
    argmin[1] = 0;
    for (j = 1; j <= N; j++) {
      if (flag[j] == 0) {
        if (v[j] < min[0]) {
          min[0] = v[j];
          argmin[0] = j;
        } else if (v[j] < min[1]) {
          min[1] = v[j];
          argmin[1] = j;
        }
      }
    }
    flag[argmin[0]] = 1;
    v[argmin[1]] = (min[0] + min[1]) / 2;
  }
  for (i = 1; i <= N; i++)
    if (flag[i] == 0) printf("%d\n", v[i]);
  fflush(stdout);
  return 0;
}
