#include <bits/stdc++.h>
using namespace std;
long long n, cnt[3], flag;
long long t(long long a) {
  long long ans = 0;
  while (!(a % 2)) {
    ++ans;
    a = a / 2;
  }
  return ans;
}
long long main() {
  cin >> n;
  long long a;
  for (long long i = 0; i < n; ++i) {
    cin >> a;
    long long ans = t(a);
    if (ans <= 2) {
      ++cnt[ans];
    } else {
      ++cnt[2];
    }
  }
  if (!cnt[1]) {
    cnt[2] = cnt[2] - cnt[0] + 1;
    if (cnt[2] >= 0) {
      flag = 1;
    }
  } else {
    cnt[2] = cnt[2] - cnt[0] + 1;
    cnt[1] = cnt[1] - 2 * cnt[2];
    if (cnt[1] <= 0) {
      flag = 1;
    }
  }
  if (flag) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
