#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:64000000")
using namespace std;
const int N = 100000 + 42;
int a[N];
int main() {
  int n, mx = -1;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", &a[i]), mx = max(mx, a[i]);
  sort(a, a + n);
  bool ans = false;
  for (int i = 0; i < n - 1 && !ans; i++)
    if (a[i + 1] < a[i] * 2 && a[i + 1] != a[i]) ans = true;
  printf(ans ? "YES" : "NO");
  return 0;
}
