func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long n, s = 0;     cin >> n;     vector<int> a(n);     for (int i = 0; i < n; ++i) {       cin >> a[i];       s += a[i];     }     sort(begin(a), end(a));     if (s % 2 == 0 && 2 * a[n - 1] <= s)       cout <<  YES ;     else       cout <<  NO ;     return 0;   }   