#include <bits/stdc++.h>
using namespace std;
int n, m, k, xl, xr, yl, yr, zl, zr;
double ax, ay, az;
const double EPS = 0.00000001;
vector<int> x, y, z;
int main() {
  int i, j, n;
  long long g, h;
  cin >> n;
  vector<int> a(n);
  for (i = 0; i < n; i++) scanf("%d", &a[i]);
  sort(a.begin(), a.end());
  for (i = 0; i < n - 1; i++) {
    if (a[i] * 2 > a[i + 1] && a[i] ^ a[i + 1]) {
      puts("YES");
      return 0;
    }
  }
  puts("NO");
  return 0;
}
