#include <bits/stdc++.h>
using namespace std;
int n, a[2000000];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) scanf("%d", &a[i]);
  sort(a, a + n);
  int pr = a[0];
  for (int i = 1; i < n; i++) {
    if (pr == a[i]) continue;
    if (pr * 2 > a[i]) {
      cout << "YES" << endl;
      return 0;
    }
    pr = a[i];
  }
  cout << "NO" << endl;
  return 0;
}
