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