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