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