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