#include <bits/stdc++.h>
using namespace std;
const int INF = (1 << 30);
const double eps = 1e-9;
const int mod = 1000000007;
const int MAXN = int(1e5) + 100;
const int dx[] = {-1, +1, 0, 0};
const int dy[] = {0, 0, -1, +1};
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<int> arr(n);
  for (int i = (0); i < int(n); ++i) {
    cin >> arr[i];
  }
  sort((arr).begin(), (arr).end());
  for (int i = (1); i < int(n); ++i) {
    int x = arr[i - 1];
    int y = arr[i];
    if (x == y) continue;
    if (y < x * 2) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
