#include <iostream>
#include <iomanip>
#include <queue>
int main(){
std::priority_queue<unsigned int> pr;
int n = 0;
int x = 0;
std::cin >> n;
for(int i = 1; i <= (n / 2) + 1; i++){
std::cin >> x;
pr.push(x);
}
while(std::cin >> x){
pr.push(x);
pr.pop();
}
if(n & 0x1){
std::cout << pr.top() << std::endl;
}else{
double a = pr.top();
pr.pop();
double b = pr.top();
pr.pop();
std::cout << std::setprecision(2) << ((a + b) / 2.0) << std::endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPHF1ZXVlPgoKaW50IG1haW4oKXsKCXN0ZDo6cHJpb3JpdHlfcXVldWU8dW5zaWduZWQgaW50PiBwcjsKCWludCBuID0gMDsKCWludCB4ID0gMDsKCiAgICBzdGQ6OmNpbiA+PiBuOwoJZm9yKGludCBpID0gMTsgaSA8PSAobiAvIDIpICsgMTsgaSsrKXsKCQlzdGQ6OmNpbiA+PiB4OwoJCXByLnB1c2goeCk7CiAgICB9CgoJd2hpbGUoc3RkOjpjaW4gPj4geCl7CiAgICAgICAgcHIucHVzaCh4KTsKICAgICAgICBwci5wb3AoKTsKICAgIH0KCglpZihuICYgMHgxKXsKCQlzdGQ6OmNvdXQgPDwgcHIudG9wKCkgPDwgc3RkOjplbmRsOwoJfWVsc2V7CgkJZG91YmxlIGEgPSBwci50b3AoKTsKCQlwci5wb3AoKTsKCQlkb3VibGUgYiA9IHByLnRvcCgpOwoJCXByLnBvcCgpOwoJCXN0ZDo6Y291dCA8PCBzdGQ6OnNldHByZWNpc2lvbigyKSA8PCAoKGEgKyBiKSAvIDIuMCkgPDwgc3RkOjplbmRsOwoJfQoKCXJldHVybiAwOwp9