#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> a;
  int n;
  int i;
  bool ans;
  cin >> n;
  a.resize(n);
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a.begin(), a.end());
  ans = false;
  for (i = 1; i < n; i++) {
    if (a[i] > a[i - 1] && 2 * a[i - 1] > a[i]) {
      ans = true;
      break;
    }
  }
  cout << (ans ? "YES" : "NO") << endl;
  return 0;
}
