#include #include using namespace std; #define SIZE_OF_ARRAY(array) (sizeof(array))/sizeof(array[0]) int main() { int n; cin >> n; int num; int sum = 0; for (int i = 0; i < n; i++) { cin >> num; sum += num; } cout << sum / n << endl; }