#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> v;
  long long t;
  for (int i = 0; i < n; i++) {
    cin >> t;
    v.push_back(t);
  }
  sort(v.begin(), v.end());
  v.erase(unique(v.begin(), v.end()), v.end());
  if (v.size() == 1) {
    cout << "NO";
    return 0;
  }
  for (int i = 0; i < v.size() - 1; i++) {
    if (v[i] * 2 > v[i + 1]) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
  return 0;
}
