#include <bits/stdc++.h>
using namespace std;
int main() {
  float numMulFour = 0.f;
  int numOdd = 0;
  int N, a;
  cin >> N;
  for (int n = 0; n < N; n++) {
    cin >> a;
    if (a % 4 == 0) {
      numMulFour++;
    } else if (a % 2 != 0) {
      numOdd++;
    } else {
      numMulFour += 0.5f;
    }
  }
  if (numMulFour >= numOdd) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
