#include <bits/stdc++.h>
using namespace std;
int a[1000010];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", a + i);
  sort(a, a + n);
  int i = 0;
  int fl = 0;
  for (; i < n - 1; i++) {
    if (a[i + 1] >= a[i] * 2 || (a[i + 1] == a[i]))
      continue;
    else {
      fl = 1;
      break;
    }
  }
  printf(fl ? "YES" : "NO");
  scanf(" ");
  return 0;
}
