func_code_string: #include <bits/stdc++.h>   using namespace std;   long long a[100001], i, l, r, n, j, c44, c1, c4, c, x, ans, h, y, m, step[101],       v, b[100500], d[100500];   string s;   int main() {     cin >> n;     for (i = 1; i <= n; i++) {       cin >> a[i];       b[i] = a[i];     }     sort(b + 1, b + n + 1);     for (i = 1; i <= n; i++) {       if (l <= b[i]) {         c++;         l += b[i];       }     }     cout << c;     return 0;   }   