#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 1;
int main() {
  ios_base::sync_with_stdio();
  cin.tie(NULL);
  cout.tie(NULL);
  int n, a[N];
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  sort(a + 1, a + 1 + n);
  for (int i = 1; i <= n; i++) {
    if (2 * a[i - 1] > a[i] && a[i] != a[i - 1]) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
  return 0;
}
