#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 7;
int a[maxn];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", a + i);
  sort(a, a + n);
  for (int i = 1; i < n; i++) {
    if (a[i] == a[i - 1]) continue;
    if (a[i] - a[i - 1] >= a[i - 1]) continue;
    printf("YES\n");
    return 0;
  }
  printf("NO\n");
  return 0;
}
