#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  long c;
  vector<long> a;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> c;
    a.push_back(c);
  }
  sort(a.begin(), a.end());
  bool OK = true;
  for (int i = 1; i < n; i++)
    if ((a[i] < 2 * a[i - 1]) && (a[i] != a[i - 1])) OK = false;
  if (OK)
    cout << "NO";
  else
    cout << "YES";
}
