#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  cin >> n;
  int *bits = new int[n];
  for (int i = 0; i < n; i++) cin >> bits[i];
  sort(bits, bits + n);
  for (int i = 0; i < n; i++)
    if (bits[i] < bits[n - 1]) {
      int ind;
      for (int j = i; j < n; j++) {
        if (bits[j] > bits[i]) {
          ind = j;
          break;
        }
      }
      if (2 * bits[i] > bits[ind]) {
        cout << "YES" << endl;
        return 0;
      }
    }
  cout << "NO" << endl;
}
