#include #include #include int main() { int n; std::cin>>n; std::vector ivec(n); for(int i=0; i>ivec[i]; } std::sort(std::begin(ivec), std::end(ivec)); if(ivec.size() %2 == 0) { int f = std::floor(ivec.size()/2.); std::cout<<((ivec[f] + ivec[f - 1])/2.)<