#include <bits/stdc++.h>
using namespace std;
int a[100010];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) scanf("%d", &a[i]);
  sort(a, a + n);
  bool flag = 0;
  for (int i = 0; i < n - 1 && !flag; ++i) {
    if (a[i] != a[i + 1] && 2 * a[i] > a[i + 1]) flag = 1;
  }
  if (flag)
    printf("YES\n");
  else
    printf("NO\n");
  return 0;
}
