#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
int main(void) {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < (int)(n); i++) cin >> a[i];
  int num4 = 0;
  int num2 = 0;
  int numnon = 0;
  for (int i = 0; i < (int)(n); i++) {
    if (a[i] % 4 == 0) {
      num4++;
    } else if (a[i] % 2 == 0) {
      num2++;
    } else {
      numnon++;
    }
  }
  if (num4 >= numnon) {
    cout << "Yes" << endl;
  } else if (n == 3 && num4 == 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
