#include <bits/stdc++.h>
template <typename T, typename Q>
T debugOut(T val, Q name) {
  std::cout << name << ": " << val << '\n';
  return val;
}
using namespace std;
int main() {
  int N;
  std::cin >> N;
  unsigned long long int data[N];
  for (int i = 0; i < N; i++) cin >> data[i];
  sort(data, data + N);
  for (int i = 0; i < N - 1; i++) {
    if (data[i] < data[i + 1] && !(data[i] * 2 <= data[i + 1])) {
      cout << "YES\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
