#include <bits/stdc++.h>
using namespace std;
int main() {
  int numMulFour = 0;
  int numOdd = 0;
  int numEven = 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) {
      numEven++;
    } else {
      numOdd++;
    }
  }
  int reqNumMulFour;
  if (numEven != 0) {
    reqNumMulFour == numOdd;
  } else {
    reqNumMulFour == numOdd - 1;
  }
  if (numMulFour >= reqNumMulFour) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
