#include <bits/stdc++.h>
using namespace std;
int a[100001], n;
bool judge() {
  int i, j;
  for (i = 1; i < n; i++) {
    if (a[i - 1] == 1) continue;
    if (a[i] == a[i - 1]) continue;
    if (a[i] < 2 * a[i - 1]) return true;
  }
  return false;
}
int main() {
  int i, j;
  scanf("%d", &n);
  for (i = 0; i < n; i++) scanf("%d", a + i);
  sort(a, a + n);
  puts(judge() ? "YES" : "NO");
  return 0;
}
