#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  int arr[n];
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  sort(arr, arr + n);
  int ans = 0;
  int i = 0, j = n / 2;
  while (1) {
    if (arr[i] * 2 <= arr[j])
      i++, j++, ans++;
    else
      j++;
    if (j == n || i == n / 2) break;
  }
  cout << n - ans << endl;
  return 0;
}
