func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int x, sum1 = 0, Min = 0, sum = 0;     cin >> x;     int p;     vector<int> v;     for (int j = 0; j < x; j++) {       cin >> p;       sum += p;       v.push_back(p);     }     sort(v.begin(), v.end());     int s = v.size();     sum1 = 0;     for (int i = s - 1; i >= 0; i--) {       sum = sum - v[i];       sum1 = sum1 + v[i];       ++Min;       if (sum1 > sum) break;     }     cout << Min;     return 0;   }   