#include <bits/stdc++.h>
using namespace std;
const long long maxn = 100000 + 10;
long long n, a[maxn];
int main() {
  cin >> n;
  for (long long i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  for (long long i = 0; i < n - 1; i++) {
    if (a[i] == a[i + 1]) continue;
    if (a[i + 1] < a[i] * 2) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
