func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, s, sum = 0;     cin >> n >> s;     int arr[n];     for (int i = 0; i < n; i++) {       cin >> arr[i];     }     sort(arr, arr + n);     for (int i = 0; i < n - 1; i++) {       sum += arr[i];     }     if (sum > s)       cout <<  NO  << endl;     else       cout <<  YES  << endl;     return 0;   }   