func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     vector<int> v(n);     for (int i = 0; i < n; i++) cin >> v[i];     sort(v.begin(), v.end());     int out = n;     int cur = n / 2;     for (int i = 0; i < n / 2 && cur < n; i++) {       while (true) {         if (v[i] * 2 <= v[cur]) {           out--, cur++;           break;         } else {           cur++;           if (cur == n) break;         }       }     }     cout << out << endl;     return 0;   }   