#include <bits/stdc++.h>
using namespace std;
int p[2];
int main() {
  int n;
  cin >> n;
  int sk;
  for (int i = 0; i < n; i++) {
    cin >> sk;
    if (sk % 4 == 0) {
      p[1]++;
    } else if (sk % 2 == 0) {
      p[0]++;
    }
  }
  int yi = 1;
  int mx = 0;
  bool can = true;
  while (yi < n && p[1] > 0) {
    p[1]--;
    mx = yi + 1;
    yi += 2;
  }
  yi = mx;
  while (yi < n) {
    if (p[0] == 0) {
      can = false;
    } else {
      p[0]--;
    }
    yi++;
  }
  if (can == true) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
