#include <bits/stdc++.h>
using namespace std;
const long long M = 1e6 + 10, MOD = 1e9 + 7;
long long a[M], n, cnt = 1, res, aa;
set<long long> st;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n;
  for (long long i = 0; i < n; i++) cin >> aa, st.insert(aa);
  long long i = 0;
  for (auto x : st) {
    a[i] = x, i++;
  }
  for (long long j = 0; j < i - 1; j++) {
    if (2 * a[j] > a[j + 1]) {
      cout << "YES"
           << "\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
