#include <bits/stdc++.h>
using namespace std;
const int size = 100005;
int a[size];
int main() {
  int i, n;
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  for (i = 1; i < n; i++)
    if (a[i] != a[i - 1] && a[i] < 2 * a[i - 1]) {
      cout << "YES" << endl;
      break;
    }
  if (i == n) cout << "NO" << endl;
  return 0;
}
