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