#include <bits/stdc++.h>
using namespace std;
int n;
int a[10];
int main() {
  scanf("%d", &n);
  double second = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    second += a[i];
  }
  cout << round(second / n);
  return 0;
}
