#include <bits/stdc++.h>
using namespace std;
const int MAXN = 10 + 100000;
const int INF = int(1e9);
int n;
int a[MAXN];
int main() {
  n = ({
    int n;
    scanf(" %d ", &n);
    n;
  });
  for (int i = (1), _b = (n); i <= n; ++i)
    a[i] = ({
      int n;
      scanf(" %d ", &n);
      n;
    });
  sort(a + 1, a + n + 1);
  for (int i = 1; i <= n - 1; ++i) {
    if (a[i] != a[i + 1] && a[i] * 2 > a[i + 1]) {
      printf("YES");
      return 0;
    }
  }
  printf("NO");
  return 0;
}
