#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i;
  cin >> n;
  vector<int> a(n);
  int on, fo, tw;
  on = 0;
  fo = 0;
  tw = 0;
  for (i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      fo++;
    } else if (a[i] % 2 == 0 && a[i] % 4 != 0) {
      tw++;
    } else {
      on++;
    }
  }
  if (tw == 0) {
    if (fo >= on / 2 + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (fo >= on) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
