#include <bits/stdc++.h>
using namespace std;
int main() {
  string s, t;
  int m, n;
  int ret = 0;
  string sret = "";
  vector<int> k;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int temp;
    cin >> temp;
    k.push_back(temp);
  }
  sort(k.begin(), k.end());
  int ind = k.size() / 2;
  int indc = ind;
  for (int i = 0; i < indc && ind < k.size(); ind++) {
    if (2 * k[i] <= k[ind]) {
      ret++;
      i++;
    }
  }
  cout << n - ret;
}
