#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
const long long INF = 1LL << 60;
int main() {
  long long n;
  cin >> n;
  vector<long long> a(n);
  for (long long i = 0; i < n; i++) cin >> a[i];
  long long tw = 0;
  long long fo = 0;
  for (long long i = 0; i < n; i++) {
    if (a[i] % 2 == 0 && a[i] % 4 != 0) tw++;
    if (a[i] % 4 == 0) fo++;
  }
  if (tw < 2) tw = 0;
  if (n - 1 - tw - 2 * fo > 0)
    cout << "No" << endl;
  else {
    cout << "Yes" << endl;
  }
}
