#include using namespace std; int main(){ int N; cin>>N; vector date(N); for(int i=0;i>date[i]; } sort(date.begin(),date.end()); if(N%2==1){ cout<