#include <bits/stdc++.h>
using namespace std;
const int inf = 1999999999;
const double pi = acos(-1.0);
const double eps = 1e-9;
char gc() {
  char c;
  while (isspace(c = getchar()))
    ;
  return c;
}
int gs(char* s) {
  if (!fgets(s, 9999999, stdin)) return -1;
  int l = strlen(s);
  while (l && isspace(s[l - 1])) s[--l] = 0;
  return l;
}
int main() {
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(15);
  int n;
  cin >> n;
  vector<int> v;
  for (int i = 0, _i = (n); i < (_i); i++) {
    int t;
    cin >> t;
    v.push_back(t);
  }
  sort((v).begin(), (v).end());
  v.erase(unique((v).begin(), (v).end()), v.end());
  for (int i = 0, _i = (((int)(v).size()) - 1); i < (_i); i++) {
    if (v[i] * 2 > v[i + 1]) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
  return 0;
}
