#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    cin>>n;
    double num,ans;
    cin>>ans;
    ans/=100000;
    for(int i=1;i<n;i++){
        cin>>num;
        num/=100000;
        ans+=num;
    }
    ans/=n;
    int kawa=ans*100000;
    cout<<kawa<<endl;
}