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