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