#include <bits/stdc++.h>
int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  size_t n;
  std::cin >> n;
  std::set<int32_t> a;
  for (size_t i = 0; i < n; ++i) {
    int32_t x;
    std::cin >> x;
    a.insert(x);
  }
  bool ok = true;
  std::vector<int32_t> v(a.begin(), a.end());
  for (size_t i = 1; i < v.size(); ++i) {
    ok &= v[i - 1] * 2 <= v[i];
  }
  if (ok) {
    std::cout << "NO\n";
  } else {
    std::cout << "YES\n";
  }
}
