#include <bits/stdc++.h>
using namespace std;
using lli = long long int;
const int MOD = 1000000007;
const int MOD1 = 998244353;
const int maxn = 100010;
const int lim = (int)1e9;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n = 0, x = 0;
  cin >> n;
  vector<int> a(n);
  for (auto &i : a) cin >> i;
  sort(a.begin(), a.end());
  for (int i = 0; i + 1 < n; ++i) {
    if (a[i] < a[i + 1] && 2ll * a[i] > a[i + 1]) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
}
