#include <bits/stdc++.h>
using namespace std;
int a[100005];
int main() {
  int n, ok;
  while (scanf("%d", &n) == 1) {
    for (int i = 0; i < n; i++) scanf("%d", &a[i]);
    sort(a, a + n), ok = 1;
    for (int i = 0; i < n - 1; i++)
      if (a[i] < a[i + 1] && a[i] + a[i] > a[i + 1]) {
        ok = 0;
        break;
      }
    if (ok)
      puts("NO");
    else
      puts("YES");
  }
}
