#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  scanf("%d", &n);
  long ans = 0;
  vector<long long> a(n);
  for (int i = 0; i < n; i++) {
    scanf("%lld", &a[i]);
  }
  ans = n;
  sort(a.begin(), a.end());
  vector<long long> s;
  for (int i = n / 2; i < n; i++) s.push_back(a[i]);
  for (int i = 0; i < n / 2; i++) {
    auto pos = lower_bound(s.begin(), s.end(), 2 * a[i]);
    if (pos != s.end()) {
      int j = pos - s.begin();
      s[j] = -1;
      ans--;
    }
  }
  cout << ans << endl;
  return 0;
}
