#include <bits/stdc++.h>
using namespace std;
int count(long long int a) {
  int c = 0;
  if (a <= 1) return 1;
  while (a) {
    c++;
    a /= 2;
  }
  return c;
}
int32_t main() {
  long long int n;
  cin >> n;
  vector<long long int> arr(n);
  for (long long int i = 0; i < n; i++) cin >> arr[i];
  sort(arr.begin(), arr.end());
  for (long long int i = 1; i < n; i++) {
    if (arr[i] != arr[i - 1] && arr[i] < 2 * arr[i - 1]) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
}
