#include <stdio.h>
int main(){ int n, a, i; int sum = 0; int avg = 0; scanf("%d", &n); for(i= 0; i <= n; i++) { scanf("%d", &a);
sum = sum +a; } avg = sum / n; printf("%d", avg); return 0; }