#include <bits/stdc++.h>
int compare(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int table[200000];
int main() {
  int n, i, k, p, a;
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    scanf("%d", &table[i]);
  }
  qsort(table, n, sizeof(int), compare);
  k = 0;
  for (i = 1; i < n; i++) {
    if (table[i] == table[i - 1]) {
      table[i - 1] = 2000000000;
      k++;
    }
  }
  qsort(table, n, sizeof(int), compare);
  n -= k;
  a = 1;
  for (i = 1; i < n; i++) {
    if (2 * table[i - 1] > table[i]) {
      a = 0;
      break;
    }
  }
  if (a == 0)
    printf("YES");
  else
    printf("NO");
  scanf(" ");
  return 0;
}
