#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> data(n);
  for (int i = 0; i < n; ++i) cin >> data[i];
  sort(data.begin(), data.end());
  vector<long long>::iterator iter;
  iter = unique(data.begin(), data.end());
  data.resize(iter - data.begin());
  bool found = false;
  for (int i = 1; i < data.size(); ++i) {
    if (data[i - 1] == 1) continue;
    if (data[i] / data[i - 1] < 2) {
      found = true;
      break;
    }
  }
  if (found)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
