#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a[100000];
  long long i, j, n, m, k;
  cin >> n;
  for (i = 1; i <= n; i++) cin >> a[i];
  sort(a + 1, a + n + 1);
  for (i = 1; i < n; i++) {
    if ((a[i + 1] / a[i] < 2) && (a[i + 1] > a[i])) {
      cout << "YES"
           << "\n";
      return 0;
    }
  }
  cout << "NO"
       << "\n";
}
