#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long arr[n];
  set<long long> s1;
  for (long long i = 0; i < n; i++) {
    cin >> arr[i];
    s1.insert(arr[i]);
  }
  if (s1.size() == 1) {
    cout << "NO" << endl;
    return 0;
  }
  vector<long long> v1;
  for (auto i : s1) {
    v1.push_back(i);
  }
  for (long long i = 1; i < v1.size(); i++) {
    if (2 * v1[i - 1] > v1[i]) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
}
