#include <bits/stdc++.h>
using namespace std;
void display(vector<int> v) {
  for (int i = 0; i < v.size(); i++) {
    cout << v[i] << " ";
  }
  cout << "\n";
}
int main() {
  int n, num, i, f = 0;
  cin >> n;
  vector<int> v;
  for (i = 0; i < n; i++) {
    cin >> num;
    v.push_back(num);
  }
  sort(v.begin(), v.end());
  vector<int>::iterator it;
  it = unique(v.begin(), v.end());
  v.resize(it - v.begin());
  for (i = 0; i < v.size() - 1; i++) {
    if (!(v[i] <= (v[i + 1] / 2))) {
      f = 1;
      break;
    }
  }
  if (f == 1)
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
