#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int indice = 0;
  int soma;
  int input[1000000];
  scanf("%d", &n);
  while (indice < n) {
    scanf("%d", &input[indice]);
    indice++;
  }
  sort(input, input + n);
  soma = n;
  int b = 0;
  for (int a = n / 2; a < n && b < n / 2; ++a) {
    if (input[a] >= 2 * input[b]) {
      soma--;
      b++;
    }
  }
  printf("%d\n", soma);
  return 0;
}
