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