#include <bits/stdc++.h>
using namespace std;
int main() {
  int64_t n;
  cin >> n;
  vector<int64_t> a(n);
  for (int i = 0; i < (int)(n); i++) cin >> a.at(i);
  int64_t tcount = 0;
  int64_t fcount = 0;
  for (int i = 0; i < (int)(n); i++)
    if (a.at(i) % 4 == 0) fcount++;
  for (int i = 0; i < (int)(n); i++)
    if (a.at(i) % 4 != 0 && a.at(i) % 2 == 0) tcount++;
  if (n % 2 == 0) {
    if (fcount + tcount * 0.5 >= n * 0.5)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (fcount + tcount * 0.5 > (n - 1) * 0.5)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
