#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  srand(time(NULL));
  unsigned long long int n;
  cin >> n;
  unsigned long long int a[n];
  for (unsigned long long int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n, greater<unsigned long long int>());
  unsigned long long int p1 = 0;
  unsigned long long int p2 = n / 2 + (n % 2);
  unsigned long long int ans = 0;
  while (p2 < n) {
    while (p2 < n && a[p1] < a[p2] * 2) p2++;
    if (p2 < n) ans++, p1++, p2++;
  }
  cout << n - ans;
}
