#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < (n); i++) cin >> a[i];
  int c1 = 0;
  int c2 = 0;
  for (int i = 0; i < (n); i++) {
    if (a[i] % 4 == 0) c1++;
    if (a[i] % 2 == 0) c2++;
  }
  c2 -= c1;
  bool frag = false;
  if ((n + 2) / 3 <= c1) frag = true;
  n -= 3 * c1;
  n += 2;
  if (n < c2) frag = true;
  if (frag)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
