#include <bits/stdc++.h>
using namespace std;
int n, i, r, p[100001];
int main() {
  cin >> n;
  for (i = 0; i < n; ++i) cin >> p[i];
  sort(p, p + n);
  for (i = 1; i < n; ++i) r |= p[i - 1] != p[i] && p[i - 1] * 2 > p[i];
  cout << (r ? "YES" : "NO");
}
