/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby,
C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, COBOL, HTML, CSS, JS
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
using namespace std;
int main() {
int laoganma_michael;
cin>>laoganma_michael;
vector<int> grades;
for(int i = 0; i<laoganma_michael; i++) {
int thing;
cin>>thing;
grades.push_back(thing);
}
vector<string>names;
for(int j = 0; j<laoganma_michael; j++) {
string aoteman;
cin>>aoteman;
names.push_back(aoteman);
cout<<calculateMean(grades)<<endl
cout<<calculateMode(grades)<<endl
cout<<calculateMedian(grades)<<endl
}
return 0;
}