#include <iostream>
using namespace std;

int main(){
    int n,m;
    double sum=0;

    cin>>n;

    for(int i=0;i<n;i++){
        cin>>m;
        sum += (double)m/n;
    }

    cout<<(int)sum<<endl;
    return 0;
}