#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, F = 0, G = 0, K = 0;
  cin >> N;
  vector<int> vec(N);
  for (int i = (int)(0); i < (int)(N); ++i) cin >> vec[i];
  for (int i = (int)(0); i < (int)(N); ++i) {
    if (vec[i] % 4 == 0) {
      F++;
    } else if (vec[i] % 2 == 0) {
      G++;
    } else {
      K++;
    }
  }
  if (F * 3 >= N) {
    cout << "Yes" << endl;
  } else if (F == 1 && N > 3) {
    cout << "No" << endl;
  } else if (F == K) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
