#include <bits/stdc++.h>
using namespace std;
int n, t;
vector<int> v;
bool fail;
int main() {
  v.clear();
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &t);
    v.push_back(t);
  }
  sort(v.begin(), v.end());
  fail = false;
  for (int i = 0; i < (int)v.size() - 1; i++) {
    if (v[i] != v[i + 1] and v[i] * 2 > v[i + 1]) {
      fail = true;
      break;
    }
  }
  printf("%s\n", fail ? "YES" : "NO");
  return 0;
}
