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