#include <bits/stdc++.h>
using namespace std;
int i, n, m, a[100100], b[100100];
int main() {
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  b[0] = a[0];
  m = 1;
  for (i = 1; i < n; i++)
    if (a[i] != b[m - 1]) {
      b[m] = a[i];
      m++;
    }
  for (i = m - 1; i > 0; i--)
    if (b[i] < 2 * b[i - 1]) {
      cout << "YES";
      return 0;
    }
  cout << "NO";
  return 0;
}
