#include <bits/stdc++.h>
using namespace std;
const int N = 100500;
int n;
int a[N];
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
  }
  sort(a + 1, a + 1 + n);
  bool fail = false;
  for (int i = 2; i <= n; i++) {
    if (a[i] != a[i - 1]) {
      if (a[i - 1] + a[i - 1] > a[i]) {
        fail = true;
      }
    }
  }
  if (!fail)
    puts("NO");
  else
    puts("YES");
  return 0;
}
