#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-12;
const double PI = acos(-1);
const long long INFF = (long long)1e18;
const int INF = (int)1e9;
const int mod = (int)1e9 + 7;
const int MAX = (int)1e5 + 7;
int st[MAX];
int main(void) {
  int n;
  scanf("%d", &n);
  ;
  for (int i = (1); i < (n + 1); ++i) scanf("%d", st + i);
  sort(st + 1, st + n + 1);
  for (int i = (1); i < (n); ++i) {
    if (st[i] < st[i + 1]) {
      if (st[i] * 2 > st[i + 1]) {
        puts("YES");
        return 0;
      }
    }
  }
  puts("NO");
  return 0;
}
