#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n, i, j, k;
  cin >> n;
  long long int arr[n];
  for (i = 0; i < n; i++) cin >> arr[i];
  sort(arr, arr + n);
  j = arr[0];
  for (i = 1; i < n; i++) {
    if (arr[i] / j < 2 && j != arr[i]) {
      cout << "YES";
      return 0;
    } else if (j != arr[i]) {
      j = arr[i];
    }
  }
  cout << "NO";
}
