#include <bits/stdc++.h>
using namespace std;
set<int> s;
vector<int> a;
int main() {
  int t;
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> t;
    s.insert(t);
  }
  for (__typeof((s).begin()) it = (s).begin(); it != (s).end(); it++) {
    a.push_back(*it);
  }
  for (int i = 0; i < (int)a.size() - 1; i++) {
    if (a[i] * 2 > a[i + 1]) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
