#include<cstdio>
using namespace std;
int main(){
    int n;
    scanf("%d",&n);
    int sum=0;
    int m;
    for(int i = 0;i < n; i++){
        scanf("%d",&m);
        sum += m/n;
    }
    printf("%d\n",sum);
    return 0;
}