#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long int n;
  cin >> n;
  long long int arr[n];
  for (long long int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  sort(arr, arr + n);
  long long int check = 1;
  for (long long int i = 0; i < n; i++) {
    for (long long int j = i + 1; j < n; j++) {
      if (arr[i] * 2 > arr[j] && arr[j] > arr[i]) {
        check = 0;
        break;
      } else if (arr[i] * 2 < arr[j])
        break;
    }
    if (check == 0) break;
  }
  if (check == 0)
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
