#include <bits/stdc++.h>
using namespace std;
int a[1000005];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  int idx = n - 1;
  int ans = 0;
  int m = n / 2 - 1;
  for (int i = m; i >= 0; i--) {
    if (a[i] * 2 <= a[idx]) {
      ans++;
      idx--;
    }
  }
  cout << n - ans << endl;
  return 0;
}
