#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, cntOne = 0, tmp, cntFour = 0, cntTwo = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> tmp;
    if (tmp % 4 == 0) {
      cntFour++;
    } else if (tmp % 2 == 0) {
      cntTwo++;
    } else {
      cntOne++;
    }
  }
  if (cntFour >= cntOne || ((cntOne - cntFour == -1) && cntTwo == 0)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
