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