#include <bits/stdc++.h>
using namespace std;
const int Inf = (int)1e10;
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<int> t(n);
  for (int i = 0; i < n; i++) cin >> t[i];
  sort(t.begin(), t.end());
  for (int i = 1; i < n; i++)
    if (t[i - 1] * 2 > t[i] && t[i - 1] != t[i]) {
      cout << "YES";
      return 0;
    }
  cout << "NO";
}
