#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int a[100001], temp;
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a, a + n);
  bool flag = true;
  for (int i = 0; i < n - 1; i++) {
    if (a[i] == a[i + 1]) continue;
    if (a[i] != 1 && a[i] * 2 > a[i + 1]) {
      flag = false;
      break;
    }
  }
  if (flag)
    cout << "NO" << endl;
  else
    cout << "YES" << endl;
}
