#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const double EPS = 1e-5;
template <typename T>
T abs(const T& a) {
  if (a >= 0) return a;
  return -a;
}
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  unsigned long long vet[n];
  for (int i = 0; i < n; ++i) {
    cin >> vet[i];
  }
  sort(vet, vet + n);
  for (int i = 0; i < n - 1; ++i) {
    if (vet[i] != vet[i + 1] && vet[i] * 2ll > vet[i + 1]) {
      cout << "YES\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
