#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long n;
  cin >> n;
  long long arr[n];
  for (long long i = 0; i < n; i++) cin >> arr[i];
  sort(arr, arr + n);
  long long cur = n - 1, mid = (n - 2) / 2, res = 0;
  for (long long i = mid; i >= 0; i--)
    if (arr[i] * 2 <= arr[cur]) {
      cur--;
      res++;
    }
  cout << n - res;
}
