#include <cstdio>
#include <algorithm>
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
using namespace std;

int main(){
	int j;
	double a,s,n;
	cin >> n;
	for(int i=0;i<n;i++){
		cin >> a;
		s+=a/n;
	}
	j=s;
	cout << j << "\n";
	
	
return 0;
}