func_code_string: #include <bits/stdc++.h>   using namespace std;   long long n, a[100100];   bool vis[100100];   vector<long long> v;   int main() {     long long n;     cin >> n;     for (int i = 0; i < n; i++) cin >> a[i];     sort(a, a + n);     if (a[n - 1] >= a[n - 2] + a[n - 3]) {       cout <<  NO  << endl;       return 0;     }     cout <<  YES  << endl;     for (int i = n - 1; i >= 0; i -= 2) {       vis[i] = true;       v.push_back(a[i]);     }     for (int i = 0; i < n; i++) {       if (!vis[i]) v.push_back(a[i]);     }     for (int i = 0; i < v.size(); i++) cout << v[i] <<    ;     return 0;   }   