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