#include <bits/stdc++.h>
using namespace std;
int n;
vector<int> v;
int main() {
  scanf("%d", &n);
  v.resize(n);
  for (int i = 0; i < n; ++i) cin >> v[i];
  sort(v.begin(), v.end());
  for (int i = 0; i < n - 1; ++i)
    if (v[i] * 2 > v[i + 1] && v[i] != v[i + 1]) {
      cout << "YES";
      return 0;
    }
  cout << "NO";
  return 0;
}
