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