#include<iostream> #include <algorithm> // sort using namespace std; int main(int argc, char** argv) { int N; cin >> N; int score[N]; //배열 선언 for(int i=0; i<N; i++) cin >> score[i]; sort(score, score+N); cout << score[N/2]; return 0; }