#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
long long a[N];
int main() {
  int n;
  scanf("%d", &n);
  long long maxx = 0;
  for (int i = 1; i <= n; i++) {
    scanf("%lld", &a[i]);
    maxx = max(maxx, a[i]);
  }
  sort(a + 1, a + 1 + n);
  bool flag = false;
  for (int i = 1; i < n; i++) {
    if (a[i] * 2 > a[i + 1] && a[i] < a[i + 1]) {
      flag = true;
      break;
    }
  }
  if (flag)
    printf("YES\n");
  else
    printf("NO\n");
}
