#include <bits/stdc++.h>
using namespace std;
int a[100050];
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a, a + n);
  n = unique(a, a + n) - a;
  for (int i = n - 1; i >= 1; i--) {
    if (a[i] < a[i - 1] * 2) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
  return 0;
}
