#include <bits/stdc++.h>
using namespace std;
int a[200000];
int main() {
  int i, j, k, l;
  int n;
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  int flag = 0;
  for (i = 1; i < n; i++) {
    if (a[i] == 3 || a[i] == a[i - 1]) continue;
    if (a[i - 1] * 2 > a[i]) flag = 1;
  }
  if (flag)
    cout << "YES";
  else
    cout << "NO";
}
