#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n;
  cin >> n;
  vector<long long int> a(n);
  for (int i = 0; i < (n); ++i) cin >> a[i];
  sort(a.begin(), a.end());
  bool ch = true;
  long long int t = 0, k = 1;
  for (int i = 0; (i + 1) < n; ++i) {
    if (a[i] == k) {
      t = 1;
    } else
      t = 2 * a[i];
    if ((a[i] < a[i + 1]) && (t > a[i + 1])) {
      ch = false;
      break;
    }
  }
  ch ? cout << "NO\n" : cout << "YES\n";
  return 0;
}
