#include <bits/stdc++.h>
using namespace std;
signed main(void) {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long TESTS = 1;
  while (TESTS--) {
    long long n;
    cin >> n;
    vector<long long> v(n, 0);
    for (__typeof(n) i = (0) - ((0) > (n)); i != (n) - ((0) > (n));
         i += 1 - 2 * ((0) > (n)))
      cin >> v[i];
    sort((v).begin(), (v).end());
    long long hf = n / 2;
    vector<long long> sm(v.begin(), v.begin() + hf);
    v.erase(v.begin(), v.begin() + hf);
    long long cnt = 0;
    long long nz = v.size();
    long long p = nz - 1;
    for (long long i = hf - 1; i >= 0; i--) {
      if (sm[i] * 2 <= v[p]) {
        p--;
        sm[i] = -1;
        cnt++;
      }
    }
    cout << n - cnt;
  }
  return 0;
}
