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