#include <bits/stdc++.h>
using namespace std;
const int N = 203600;
int a[N], n;
int main() {
  cin >> n;
  for (int i = (0); i < (int)(n); i++) cin >> a[i];
  sort(a, a + n);
  bool ok = 1;
  for (int i = (0); i < (int)(n - 1); i++)
    if (a[i] != a[i + 1]) {
      ok &= a[i] * 2 <= a[i + 1];
    }
  cout << (!ok ? "YES" : "NO") << endl;
  return 0;
}
