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