#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  set<int> a;
  bool ans = true;
  for (int i = 0; i < (int)(n); i++) {
    int tmp;
    scanf("%d", &tmp);
    a.insert(tmp);
  }
  set<int>::iterator it1 = a.begin();
  set<int>::iterator it2 = a.begin();
  it2++;
  while (it2 != a.end()) {
    long long i1 = 2 * (long long)(*it1);
    long long i2 = *it2;
    if (i1 > i2) {
      ans = false;
      break;
    }
    ++it1;
    ++it2;
  }
end:
  puts(ans ? "NO" : "YES");
  return 0;
}
