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