#include <bits/stdc++.h>
using namespace std;
const long long int mx = 1000 * 100;
int n;
long long int a[mx];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  bool flag = 0;
  sort(a, a + n);
  long long int m;
  for (int i = 0; i < n - 1; i++) {
    m = 2 * a[i];
    if (a[i] < a[i + 1] && m > a[i + 1]) {
      flag = 1;
      break;
    }
  }
  if (flag)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}
