#include <bits/stdc++.h>
using namespace std;
int YearUniversityAdmission(int n, vector<int> &array) {
  int summ = 0;
  for (int i = 0; i < n; ++i) {
    summ += array[i];
  }
  return summ / n;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  vector<int> years(n);
  for (int i = 0; i < n; i++) {
    cin >> years[i];
  }
  cout << YearUniversityAdmission(n, years) << endl;
  return 0;
}
