#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int temp;
  vector<int> a;
  for (int(i) = 0; (i) < (n); (i)++) {
    cin >> temp;
    a.push_back(temp);
  }
  sort(a.begin(), a.end());
  for (int(i) = 0; (i) < (n - 1); (i)++) {
    if (a[i] == a[i + 1]) continue;
    if (a[i + 1] < 2 * a[i]) {
      cout << "YES\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
