#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  cerr.tie(nullptr);
  long long n;
  cin >> n;
  vector<long long> a(n);
  for (auto& i : a) cin >> i;
  sort(a.begin(), a.end());
  vector<long long> b, c;
  for (long long i = 0; i < n / 2; ++i) b.push_back(a[i]);
  for (long long i = n / 2; i < n; ++i) c.push_back(a[i]);
  long long lenb = b.size(), lenc = c.size();
  long long l = lenb - 1, sol = n;
  for (long long i = lenc - 1; i > -1; --i) {
    while (l > -1 && c[i] < 2 * b[l]) {
      --l;
    }
    if (l == -1) break;
    --l;
    --sol;
  }
  cout << sol << '\n';
}
