#include<iostream>
using namespace std;

int main()
{
  int n;
  cin>>n;
  double sum=0;
  for(int i=0;i<n;i++)
    {
      int tmp;
      cin>>tmp;
      sum+=tmp/(double)n;
    }
  cout<<(int)sum<<endl;
}