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